Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 9-Oct-2008 16:39
User is offline View Users Profile Print this message


Douglas Zawacki

Posts: 58
Joined: 17-Oct-2006

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
Report this to a Moderator Report this to a Moderator
 9-Oct-2008 18:48
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

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
Report this to a Moderator Report this to a Moderator
 9-Oct-2008 20:20
User is offline View Users Profile Print this message


Douglas Zawacki

Posts: 58
Joined: 17-Oct-2006

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.
Report this to a Moderator Report this to a Moderator
 10-Oct-2008 11:18
User is offline View Users Profile Print this message


Paul Howstan

Posts: 47
Joined: 27-Sep-2006

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
Report this to a Moderator Report this to a Moderator
 10-Oct-2008 11:32
User is offline View Users Profile Print this message


Paul Howstan

Posts: 47
Joined: 27-Sep-2006

After a quick change, managed to get it to behave a bit better.

Edited: 10-Oct-2008 at 12:10 by Paul Howstan
Report this to a Moderator Report this to a Moderator
 10-Oct-2008 19:37
User is offline View Users Profile Print this message


David Jakad

Posts: 94
Joined: 20-Jul-2007

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
Report this to a Moderator Report this to a Moderator
 13-Oct-2008 18:35
User is offline View Users Profile Print this message


Douglas Zawacki

Posts: 58
Joined: 17-Oct-2006

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
Report this to a Moderator Report this to a Moderator
 14-Oct-2008 14:53
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

This is something the Telelogic guys need to address.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.