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: Passing global variables to DBE functions
Topic Summary:
Created On: 13-Feb-2006 13:38
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 Louie Landale, on Monday, February 13, 2006 6:10 PM

Answer:
Someone can perhaps explain this, but you need to "show dbMain" after you realize it.

You don't generally need to realize a Dialog Box, but you can if you want to position it on the page or when you've got some list type DBEs that can only be populated after the dialog has been realized:
realize (dbMain, 20, 50)
initialize list...
show (dbMain)

- Louie
 13-Feb-2006 13:38
User is offline View Users Profile Print this message


Neal Middlemore

Posts: 35
Joined: 24-Mar-2005

Hi,

I am trying to use some global variables in a DBE called function, in the attached example, lm_name gets bounced as an unassigned variable. I have declared it globally and set the value.

What simple thing am I doing wrong?



Edited: 13-Feb-2006 at 13:42 by Neal Middlemore
Report this to a Moderator Report this to a Moderator
 13-Feb-2006 14:51
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Answer Answer
Someone can perhaps explain this, but you need to "show dbMain" after you realize it.

You don't generally need to realize a Dialog Box, but you can if you want to position it on the page or when you've got some list type DBEs that can only be populated after the dialog has been realized:
realize (dbMain, 20, 50)
initialize list...
show (dbMain)

- Louie
Report this to a Moderator Report this to a Moderator
 13-Feb-2006 15:17
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

realize(dialog_box) creates and displays a dialog box without suspending execution of the DXL program. The dialog_box only becomes active when a show function is called.

The realize(dialog_box) function is used where you wish to do something that can only be done once the dialog box internal structure has been created, for example, add columns to a list view. Creating the internal structure is called realization.
Report this to a Moderator Report this to a Moderator
 13-Feb-2006 18:09
User is offline View Users Profile Print this message


Neal Middlemore

Posts: 35
Joined: 24-Mar-2005

Ok, thanks guys, that has cured my problem and I now understand it a little better.

Thanks

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