Skip to content
⌘ NSIS Forum Archive

DIasble a Combobox (DropDownList) when a RadioButton is clicked

2 posts

Defcon0#

DIasble a Combobox (DropDownList) when a RadioButton is clicked

Hello,

I have an InstallOptions Screen with 2 Radio Buttons and a Combobox (DropDownList). When I click the one radiobutton the combobox should be diabled (gray) and when I click the other one it should ne enabled.

Is this possible ?

Bye Defcon0
Afrow UK#
Use Flags=NOTIFY on the radio buttons.
This should trigger the page leave function to be called, from where you check which control number called the function from Settings > State in the INI file. You must then call Abort to go back to the page after enabling/disabling the combo box.

Stu