Hello,
See following use case:
I have enter some value in textbox in one installer dialog.
Then I click Next to go to Next Dialog.
Now I want to update the value in textbox of previous dialog.
But when I click Back, I see the value in textbox has been removed.
Also all other contols [radio, chckbox, dropdown] are set to their default value.
How can we keep control values persistent between dialogs?
Regards,
Chintan
Values set to default when going Back
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Values set to default when going Back
Dear Chintan,
just bind your control to a script variable.
For example, suppose that you want to keep the text entered in a EDIT CONTROL:
- Open the dialog in Dialog Editor
- Double-click on the TEXT EDIT control on the dialog and select the Object Behavior tab.
- Set the Write Values to Variable edit box and enter the variable in your script to receive the selected value.
Note - The used variable must be declared before any call to that dialog in your script.
Hope this helps you.
Regards
just bind your control to a script variable.
For example, suppose that you want to keep the text entered in a EDIT CONTROL:
- Open the dialog in Dialog Editor
- Double-click on the TEXT EDIT control on the dialog and select the Object Behavior tab.
- Set the Write Values to Variable edit box and enter the variable in your script to receive the selected value.
Note - The used variable must be declared before any call to that dialog in your script.
Hope this helps you.
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
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

