DFehrenbach Posted March 6, 2008 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?
Inky Phil Posted March 6, 2008 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
David Jondreau Posted March 6, 2008 Posted March 6, 2008 Why not make the different top level tabs different layouts?
comment Posted March 6, 2008 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.
FestiveEmbalmer Posted March 6, 2008 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
comment Posted March 6, 2008 Posted March 6, 2008 Well, the method is obsolete in version 9, where you can remove the borders and set tab width to 0.
FestiveEmbalmer Posted March 6, 2008 Posted March 6, 2008 oooh, thanks for the useful correction! matt
DFehrenbach Posted March 6, 2008 Author Posted March 6, 2008 Thanks! works fine at protecting the underlying tabs. I appreciate the help and the very fast resonse.
DFehrenbach Posted March 6, 2008 Author 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.
Inky Phil Posted March 7, 2008 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
Recommended Posts
This topic is 6116 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