ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Performing some operation on text change

Hi,

In a dialog I have 4 Text boxes. If I write any thing in first text box I want to same text box in other text boxes with some append values. Basically I want to do some operation on text change event of first textbox.

Please suggest.

Thanks
Amit
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Performing some operation on text change

Hi Amit,

I recommend you have the first text box on one dialog, and the other text boxes on other dialogs.
So, you'll have 4 properties:
BASE_PROPERTY
DERIVED_PROPERTY1
DERIVED_PROPERTY2
DERIVED_PROPERTY3

The text box with BASE_PROPERTY will be placed on some dialog. On that dialog's Next button, you will need to create a custom action to populate the values of all three derived properties the way you want to. A vbscript custom action could do it.

It is important for BASE_PROPERTY to reside on a dialog different than the derived properties reside on. This is because of the fact that Windows Installer does not properly update them if on the same dialog.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”