How to perform some action on change of ComboBox/ListBox?

Got a problem you cannot solve? Try here.
Post Reply
anumo
Posts: 12
Joined: Mon Jul 12, 2010 6:30 am

How to perform some action on change of ComboBox/ListBox?

Post by anumo »

I needt to perform some action on change of a ComboBox/ListBox (e.g. reload the dialog box) ... something similar to JavaScript's onChange-Event? How to do this?
Evaluating InstallAware ...
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: How to perform some action on change of ComboBox/ListBox

Post by mills »

I'm not sure what you mean by "reload the dialog box".

Nevertheless, InstallAware doesn't provide event-driven processing.

What you would probably want to do is something like this:

On the first form with the combobox, make the user make the selection they want.
They have to click button "continue" or "next" after making that selection.

The next form displays and based on the selection in the combobox on the previous dialog, you can display that selection and the associated options with it on the next form.

If they didn't like that selection, they can click a button to go back to the previous dialog to edit their combobox selection.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
anumo
Posts: 12
Joined: Mon Jul 12, 2010 6:30 am

Re: How to perform some action on change of ComboBox/ListBox

Post by anumo »

OK, i will come a little bit closer to my problem: I have a custom dialog to select the setup language. Languages are listed in a ComboBox. When the user select the setup language, the dialog should immediately/realtime use this selected language ... and this whithout clicking a button. My thought was to add an action to the ComboBox, on changing the language $LAGUAGE$ get's updated whith the selection and after that i do "GoTo Label: Language" to display the dialog in the "new" language. Clicking next will go to the next step in the setup using the selected language ...
Evaluating InstallAware ...
mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: How to perform some action on change of ComboBox/ListBox

Post by mills »

Yeah, you wouldn't be able to apply the language until the next dialog...
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Post Reply