|
|
#1 |
|
Junior Member
Join Date: Jun 2004
Posts: 13
|
Dynamically disable InstallOptions control
Hi all:
Is it possible to disable certain control on the InstallOption pages depending on the value of another field on that same page? For example can I disable a text field if the user checks a checkbox or select a radio button? If anyone knows how to do that, I would appreciate it greatly if you can share. Thanks! |
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jan 2005
Location: Oregon Coast
Posts: 737
|
Do it with the EnableWindow command in the pages leave function.
For a good example, check out the testnotify.nsi script included with your NSIS installation. (It's located in the NSIS install folder under \examples\InstallOptions.) |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jun 2004
Posts: 13
|
Thanks alot!
That's exactly what I am looking for. |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|