alient
6th January 2006 22:34 UTC
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!
Comperio
7th January 2006 05:11 UTC
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.)
alient
9th January 2006 19:18 UTC
Thanks alot!
That's exactly what I am looking for.