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: how to use setShowTableAcrossModule
Topic Summary:
Created On: 18-Jun-2003 11:30
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 Dennis Lockshine, on Wednesday, June 18, 2003 3:43 PM

Answer:
From the DXL Reference Manual, the function is defined as follows:

void setShowTableAcrossModule(Object tableCell, bool showTable)

where tableCell is any cell in the table.

This is actually incorrect and does not work. The Object tableCell should be set not to a cell Object, but to the hidden table heading Object for the affected table.

The following code should do what you ask:

Module m=current
Object o
for o in entire m do if(table o) setShowTableAcrossModule(o, true)


-Dennis
 18-Jun-2003 11:30
User is offline View Users Profile Print this message


Neil Davidson

Posts: 2
Joined: 18-Jun-2003

Hi,

Sorry in advance for this hopeless question, but I can't seem to get this function to work. I am brand new to DXL and Iam finding it pretty difficult to get a grasp on the basic concepts from the DXL reference manual!

I have several modules with large numbers of tables in them. For formatting purposes I want to show all of these tables across a module,however I keep getting syntax errors related to the table cell object for this function.

Thanks in advance for letting me know how I should use this function.

Neil
Report this to a Moderator Report this to a Moderator
 18-Jun-2003 14:12
User is offline View Users Profile Print this message


Dennis Lockshine

Posts: 113
Joined: 7-Apr-2003

Answer Answer
From the DXL Reference Manual, the function is defined as follows:

void setShowTableAcrossModule(Object tableCell, bool showTable)

where tableCell is any cell in the table.

This is actually incorrect and does not work. The Object tableCell should be set not to a cell Object, but to the hidden table heading Object for the affected table.

The following code should do what you ask:

Module m=current
Object o
for o in entire m do if(table o) setShowTableAcrossModule(o, true)


-Dennis
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.