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: dialogue box with multiple tabs and labels
Topic Summary: How do I get each individual label to show up on it's appropriate tab?
Created On: 24-May-2006 22:15
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.
Answer This question was answered by Heather Linsk, on Thursday, May 25, 2006 2:43 PM

Answer:
Nevermind.  I found the answer I was looking for in the tabs_example.dxl

THANKS!
 24-May-2006 22:15
User is offline View Users Profile Print this message


Heather Linsk

Posts: 50
Joined: 7-Mar-2006

I have a dialogue box with 5 tabs.
On each tab I have a label.

The only label that appears (and it appears on all my tabs) is the label from the last (#5) tab.

How do I get each individual label to show up on it's appropriate tab?

TIA!

Heather.
heather.linsk@gd-ais.com



-------------------------
Heather Linsk
Lead Engineer
General Dynamics AIS
413-494-7095
Report this to a Moderator Report this to a Moderator
 25-May-2006 11:34
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

You have to handle hiding and showing the elements associated with each tab in your code.
DBE elements are not actually created "on" the tab, so by default they are all visible, piled on top of each other.

To do this, you have a skip list for each tab. This holds all the DBE elements that are on that tab.
When a tab is selected, your callback looks at the skip lists and hides elements on other tabs and shows elements on the selected tab.

The following example should give you a good starting point.

tabs_example.dxl
tabs_example.dxl  (3 KB)



-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 25-May-2006 14:28
User is offline View Users Profile Print this message


Heather Linsk

Posts: 50
Joined: 7-Mar-2006

Tony -

Thank you.  That gave me a good start.  Do you by any chance have an example that shows multiple items on a single frame?  I am not quite sure how to place one item under another within a frame.

See attached code for a snippet of what I am currently doing with my original implementation of tabs.

Thanks so much!

Heather.



-------------------------
Heather Linsk
Lead Engineer
General Dynamics AIS
413-494-7095
Report this to a Moderator Report this to a Moderator
 25-May-2006 14:43
User is offline View Users Profile Print this message


Heather Linsk

Posts: 50
Joined: 7-Mar-2006

Answer Answer
Nevermind.  I found the answer I was looking for in the tabs_example.dxl

THANKS!

-------------------------
Heather Linsk
Lead Engineer
General Dynamics AIS
413-494-7095

Edited: 25-May-2006 at 14:44 by Heather Linsk
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.