DFehrenbach Posted March 6, 2008 Share Posted March 6, 2008 I have a layout that contains many levels of nested tab panels. The top level of tab panel is set by get object prior to displaying the window. I want to make sure that the user does not click on (or see) any other tab on this panel. to that end I have made the width of the tab panels very small and covered them over with a field that does not allow input. This, however, does not assure that the user cannot click in the tab area and just happen to select another tab, even through the masking field. Is there any better way to protect these tabs? Link to comment Share on other sites More sharing options...
Inky Phil Posted March 6, 2008 Share Posted March 6, 2008 What happens if you put an invisible button over the other tab panels with a go to original tab command attached to it? Phil Link to comment Share on other sites More sharing options...
David Jondreau Posted March 6, 2008 Share Posted March 6, 2008 Why not make the different top level tabs different layouts? Link to comment Share on other sites More sharing options...
comment Posted March 6, 2008 Share Posted March 6, 2008 Create a new tab control object with a single tab. Make it transparent and use it to cover the other object's tabs. Link to comment Share on other sites More sharing options...
FestiveEmbalmer Posted March 6, 2008 Share Posted March 6, 2008 I use comment's method when I have to, but there is so much flashing when the screen is drawing layouts with multiple tab levels in XP, that I would join DJ in recommending you use separate layouts, if feasible. matt Link to comment Share on other sites More sharing options...
comment Posted March 6, 2008 Share Posted March 6, 2008 Well, the method is obsolete in version 9, where you can remove the borders and set tab width to 0. Link to comment Share on other sites More sharing options...
FestiveEmbalmer Posted March 6, 2008 Share Posted March 6, 2008 oooh, thanks for the useful correction! matt Link to comment Share on other sites More sharing options...
DFehrenbach Posted March 6, 2008 Author Share Posted March 6, 2008 Thanks! works fine at protecting the underlying tabs. I appreciate the help and the very fast resonse. Link to comment Share on other sites More sharing options...
DFehrenbach Posted March 6, 2008 Author Share Posted March 6, 2008 Thanks for the suggestion, but this is the arrangement I'm trying to avoid. The layout has 6 or more tab panels on the top level and I don't want to have 6 or more layouts. Lining them up so there is no screen jump is a pain. Link to comment Share on other sites More sharing options...
Inky Phil Posted March 7, 2008 Share Posted March 7, 2008 Lining them up so there is no screen jump is a pain. You can avoid this by locking your elements and then duplicating the layout - l[color:blue]ayout mode - layouts menu - duplicate layout. Hope I am not stating the obvious Phil Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 5896 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now