![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Tab strip within a Tab strip Topic Summary: Created On: 9-Oct-2008 16:39 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
I have not been able to build a dialog box with a tab strip within a tab strip. Has anyone figured if this is even possible?
I have built many dialog boxes using tab strips. Now that I have been doing some playing with the tab strips it doesn't even seem possible to place a tab strip inside a frame which to me is even stranger. So, unless I'm just missing something really stupid I'd have to come to the conclusion that forms are the only containers that can include a tab strip and that tab strips cannot contain another tab strip. Please tell me I'm not right..this would really be sad. Edited: 9-Oct-2008 at 16:55 by Douglas Zawacki |
|
![]() |
|
![]() |
|
Tab inside a frame and tab strip inside a tab strip.
The latter is useless since you have to hide the container tab strip. Unless you had a button or something to toggle between them. But it seems kinda pointless to do. ------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com Edited: 9-Oct-2008 at 18:56 by David Pechacek |
|
![]() |
|
![]() |
|
Hi David,
Hey thanks for the old college try. Unfortunately, your tab inside a frame doesn't make any sense if you hide the frame. So, that being said if I comment out the code to not hide the frame you cannot see the tabstrip. Bottom line, that code doesn't work. As far as the tab inside a tab goes...your code doesn't show the second tab so no matter what anyone tries they cannot make both tabs appear. There are many situations that do need such an interface, so it does make sense from a user interface perspective. |
|
![]() |
|
![]() |
|
Hi Doug,
This is a real 'work around', but I noticed that the first tab strip is ALWAYS on top no matter where you put it, so make the first one small enough to fit inside of the second, then put the second on top of the first. An obvious issue with this is the 'missing' border on the right of the inset tab strip. Other than that, I found exactly the same as you, you CAN NOT put a tab inside of another tab as the sub tab disappears behind the first. Paul |
|
![]() |
|
![]() |
|
After a quick change, managed to get it to behave a bit better.
Edited: 10-Oct-2008 at 12:10 by Paul Howstan |
|
![]() |
|
![]() |
|
The attached code is another example of a tab within a tab.
For whatever reasons, tab strips are always drawn BEHIND all other DBEs, and behind any earlier-defined tab strips. Makes sense in general, but makes tabs within tabs difficult. So, you cannot have a tab strip within a frame. Both DBEs will be there, but when rendered, the tab strip will be behind the frame, as if the frame was opaque. When trying to put a tab inside a tab, you run into the issue that the tab strip which is defined second, is drawn BEHIND the tab strip which is defined first. And, of course with the position syntax, you must place the DBEs in the order in which they are defined, meaning you can't place the first tab strip (the sub tab) relative to the second one (the main tab). There are some work arounds. In the attached example, some dummy frames are used as spacers to position the "sub tabs", which are defined before the "main tab" (similar to what Paul did). The "Hide Frames" and "Show Frames" buttons also demonstrate how the frames are drawn on top of the tabs. There is a work around for a tab within a frame, which invovles faking a frame by drawing four sides of the frame individually, with four individual frames, each with zero-width. Essentially drawing four lines. But a lot of hassle. Edited: 10-Oct-2008 at 19:42 by David Jakad |
|
![]() |
|
![]() |
|
Folks,
Thanks for all your help on this one. I have given up on attempting to put a frame in each of the tabs. I have also decided that Mr. Jakad's work around (changing the order of declaration/creation) is good enough to get my dialog working. Here is an example with at least one DBE working in the sub-tab. Edited: 13-Oct-2008 at 21:28 by Douglas Zawacki |
|
![]() |
|
![]() |
|
This is something the Telelogic guys need to address.
------------------------- David Pechacek AAI Services Textron dpechacek@sc-aaicorp.com David.Pechacek@gmail.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Tab strip within a Tab strip
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.