vpatel2611
Posts: 9
Joined: Thu Oct 08, 2009 5:23 pm

More newbie learning questions

I have created a custom dialog box (Screenshot attached) that has a few fields. I want to store the values that the user enters in to each field into properties.

What I want to be able to do is that when the user selects the "Yes" radio button, the User Name & Password boxes should get disabled. I could replace the radio buttons with a check box if need be, so if the user checks the box the user name and password fields are disabled, otherwise they are fillable. Also, in the combo box there are 3 values. Only 1 of the 3 values needs that Delivery Location box and the browse button. When the user selects any of the other 2 entries, they should get disabled. All the fillable fields must be filled out before the user can proceed. The values for the fields that are filled out should get stored in variables or properties.

I've looked through the help and tried to create Events, but I could not find a way to do what I am trying to do. Any help would be appreciated.

Thanks.
Attachments
smtp_info.jpg
smtp_info.jpg (22.09 KiB) Viewed 2545 times
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: More newbie learning questions

Hello,

Attached is a sample that does this. Look at the control events for each control on the NewDialog in the Dialogs page.

Best regards,
Gabriel
Attachments
test.aip
(13.92 KiB) Downloaded 295 times
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
vpatel2611
Posts: 9
Joined: Thu Oct 08, 2009 5:23 pm

Re: More newbie learning questions

Sweet...many thanks for this. I think I am beginning to understand how to work with control events. I am sure I 'll have many more questions though.

Return to “Common Problems”