04-21-2009 11:48 AM
Dear Sir
If I have a control in the front panel of one page in tab control and I want to add the same control in another page in tab control to use it. How can I do that ??
I'm waiting your reply
04-21-2009 12:01 PM
04-21-2009 12:05 PM
04-21-2009 12:09 PM
Then you are probably going to want a loop with an event structure.
One event would be: Changed Value on control 1. When that happens, you need to also change the value of control 2 (to the same number).
Second event would be: Changed Value on control 2. When that happens, change control 1 also.
There are a variety of ways of changing the value of a control (the easiest, but least elegant is to use a local variable) -- the important thing is the event structure.
04-21-2009 12:12 PM
If you want a control to appear on ALL pages of the tab control, move it in front of the tab control rather than placing it in the control. To do this, place the control on the panel outside the tab control and select it. Then move it over the tab control by using the arrow keys. The control will be visible regardless of the tab page selected. If you drag the control or click and drop it on the tab, it will only be on the one page which was showing when the control was placed.
If you have five tab pages and only want the control to appear on two or three of them, then you need multiple controls.
Lynn
04-21-2009 12:24 PM
Dear Sir
Thanks for replying, but I can't do it, could you attach an example it will help me more
04-21-2009 12:26 PM
johnsold wrote:If you want a control to appear on ALL pages of the tab control, move it in front of the tab control rather than placing it in the control. To do this, place the control on the panel outside the tab control and select it. Then move it over the tab control by using the arrow keys. The control will be visible regardless of the tab page selected. If you drag the control or click and drop it on the tab, it will only be on the one page which was showing when the control was placed.
If you have five tab pages and only want the control to appear on two or three of them, then you need multiple controls.
Lynn
Instead of multiple controls, you could also make the control invisible when a tab is selected where you don't need it.
04-21-2009 01:11 PM
04-21-2009 01:21 PM
04-21-2009 01:27 PM