Edit component not return default value to the variable.

Got a problem you cannot solve? Try here.
Post Reply
vladimirc
Posts: 2
Joined: Sun Oct 31, 2010 11:18 am

Edit component not return default value to the variable.

Post by vladimirc »

I'm use edit component with predefined default value Edit.Text="some text" with option "writes values to variable" (see attached) and then after that I'm for example trying to see this variable in MesageBox, variable not returned(see attached). I'm trying to define this variable in the code before usage it's same did not help, after dialog closing returned value equal to predefined in the code(empty string for example) and not to value from Edit.Text. Only if I change a value in the Edit in running time it's return a value to the code.
Attachments
edit2.JPG
edit2.JPG (5.73 KiB) Viewed 2800 times
edit.JPG
edit.JPG (78.45 KiB) Viewed 2800 times
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Edit component not return default value to the variable.

Post by FrancescoT »

Dear User,

are you sure that the variable you are using, it is declared before you assigning to dialog control?

let me know.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply