Old 6th January 2006, 21:34   #1
alient
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!
alient is offline   Reply With Quote
Old 7th January 2006, 04:11   #2
Comperio
Major Dude
 
Comperio's Avatar
 
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.)
Comperio is offline   Reply With Quote
Old 9th January 2006, 18:18   #3
alient
Junior Member
 
Join Date: Jun 2004
Posts: 13
Thanks alot!
That's exactly what I am looking for.
alient is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump