Le 29 sept. 06 à 14:47 Soir, Bart Pietercil a écrit:

Indeed, it would be more elegant to disable the tab, but it's not possible.

Another way, if you are using RB 2005 or 2006, would be to remove completely the tab. As I don't use RB 2005, I can't predict if embedded controls are also removed/hidden or if they are going to another tab, etc.


The LR states that the embedded controls will be removed at the same time. Rebuilding the page with code (rebuilding all controls) was too much off a hassle so I choose the method mentioned above.

Yes. Also, you could move all the controls to the window (with a loop: if self.control(i).tabpanelIndex=2 then) and make them invisibles. You make them visibles again and place them on the tabpanel if you want them back.

I don't think I'll need it (they may see the controls, but can't use them), but I'll keep it in mind

You're right: the method you use is suitable.

But, what do you mean by "they may see the controls, but can't use them"?
When a control is invisible, it can't be neither seen nor 
used._______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to