Home » Developer & Programmer » Forms » replace mask by switching between TabPages
replace mask by switching between TabPages [message #85146] Fri, 04 June 2004 06:43 Go to next message
hudo
Messages: 165
Registered: May 2004
Senior Member
Hello,

I have a canvas MYMAIN (canvas-type Content) which contains the "insert query" part/blocks. Than I have a canvas TABWALL (canvas-type Tab) which contains several
Tab Pages, one for scott.emp one for scott.dept. The canvas TABWALL is a little bit shifted compared to MYMAIN (TABWALL has a viewport x position 150 and a viewport y position 75). Now the question:
if the cursor/focus is on the TabPage with scott.emp, a forms-mask should appear left on MYMAIN where you can enter into two text items two values as limits for scott.emp.sal for querying the scott.emp table.
if the cursor/focus switches to the TabPage with scott.dept, the forms-mask (on MYMAIN ) described above should be replaced by another forms-mask for querying the scott.dept table (for example a text item where you insert a "deptno" and the corresponding record is then displayed on the TabPage with scott.dept.

How can I replace/overwrite a mask by switching between Tab Pages ??
Each Tab Page should so have a corresponding "query mask" on the MYMAIN.

Thanks in advance
Re: replace mask by switching between TabPages [message #85156 is a reply to message #85146] Fri, 04 June 2004 23:35 Go to previous message
Himanshu
Messages: 457
Registered: December 2001
Senior Member
Hi,
Make use of When-Tab-Page-Changed Trigger to write your code.
Whatever feilds you require, just create them on a Canvas and set there Visible properties TRUE or FALSE in above mentioned Trigger.

HTH
Regards
Himanshu
Previous Topic: conditional formatting
Next Topic: terminal file for forms
Goto Forum:
  


Current Time: Mon Jul 08 14:42:51 CDT 2024