![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Dialogue Box Problems Topic Summary: Created On: 10-Aug-2004 09:49 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
|
![]() |
|
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 |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Dialogue Box Problems
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.