![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Get the text available in the DB Box Topic Summary: Created On: 24-Sep-2008 17:24 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Can some one help me, How to read (or) print the value which is available in the text box?
Here is my code: void sendRID(DB RIDbox) {} DB RIDbox = create "Text Box" DBE response = text(RIDbox, "Your response:", "",200, false) apply(RIDbox, sendRID) show RIDbox If i type anything into the "Your response:" box & click apply, I want to read (or) print the value. Any help appreciated Thanks in Advance. |
|
![]() |
|
![]() |
|
//try
DB RIDbox = create "Text Box" DBE response = text(RIDbox, "Your response:", "",200, false) void sendRID(DB RIDbox) { string s = get response print s } apply(RIDbox, "Print", sendRID) show RIDbox |
|
![]() |
|
![]() |
|
Notice that the callback sendRID must access the DBE, which therefore must be a global variable that's already declared. Since the callback must already be defined when defining the Dialog box itself, my code tends to be structured as attached.
- Louie |
|
![]() |
Telelogic DOORS
» General Discussion
»
Get the text available in the DB Box
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.