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 Problems
Topic Summary:
Created On: 10-Aug-2004 09:49
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.
 10-Aug-2004 09:49
User is offline View Users Profile Print this message


Hugh Johnson

Posts: 27
Joined: 5-Aug-2004

Hi Guys,

The problem I have is:

In a DXL script I create a DB which is displayed, but then later I wish to update it to include some new DBE's. However because there is a list view on the DB which is there from creation a realize command is used. This means that the DB changes mode and cannot be updated to accept new DBE's.

Is there anyway to add a new DBE to a GUI or DB that has already been realized?

Hugh

-------------------------
Hugh Johnson

Westland Helicopters Ltd.
myurl
Report this to a Moderator Report this to a Moderator
 10-Aug-2004 13:10
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

Never tried, but I am pretty sure that you must create all your DBEs up front before the realize command.

You can control which DBEs are visible by using hide(DBE) and show(DBE).

Will this provide the functionality you are looking for?




-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 10-Aug-2004 15:19
User is offline View Users Profile Print this message


Hugh Johnson

Posts: 27
Joined: 5-Aug-2004

Unfortunately not,

I need to add a DBE to a form that has already been realized. At the time I need to add the DBE the form has already been realized. (This is due to the fact the main form has a list view on it) The problem is that using show(db) or realize(db) seems to 'lock' the DB so that no other new elements may be added to it. I very much doubt there is a way round this but hope i'm wrong!

The fact that when using a DOORS main dialogue box to create a new type, all of the possible parameters of the type have their DBE's preloaded suggests that dynamic updates of DBE elements is not possible.

The hide and show functions would normally work, but the DB I'm trying to implement has far to many potential DBE's to cover all eventualites. So this would mean some sort of layout manager which held it's own referneces to DBE's and moved them around as they were shown and hidden. This could work but it would involve far to much time and effort and the result of placing DBE's on top of each other is unpredictable.

Hugh

-------------------------
Hugh Johnson

Westland Helicopters Ltd.
myurl
Report this to a Moderator Report this to a Moderator
 11-Aug-2004 16:26
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Yup, don't think you can add DBEs once its realized.

You can kill the old DB and build a new one with the same name and additional DBEs. Before Killing it you'll want to get its X-Y "position" and possibly its "size", and will want to transfer the current DBE values from the old to the new. Seems pretty tricky to me. You'll need some function that gets the initial values of your DBEs as per attached.

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