Old 2nd April 2006, 18:52   #1
empezar
Senior Member
 
empezar's Avatar
 
Join Date: Sep 2003
Posts: 123
uncheckable radiobutton?

I have these 2 options in my installer that i dont want to be installed together

so the options are

install #1
install #2
install none

but using radiobuttons like so:

code:
Function .onSelChange
!insertmacro StartRadioButtons $1
!insertmacro RadioButton ${MAPTEXTURES}
!insertmacro RadioButton ${MAPTEXTURESLOW}
!insertmacro EndRadioButtons
FunctionEnd



... makes them ununcheckable (see that double negation?) once checked..
empezar is offline   Reply With Quote
Old 2nd April 2006, 18:56   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
It would be easier to include a dummy Section that does nothing and include it as a radio button.

-Stu
Afrow UK is offline   Reply With Quote
Old 3rd April 2006, 09:39   #3
empezar
Senior Member
 
empezar's Avatar
 
Join Date: Sep 2003
Posts: 123
is there any way of figuring out what checkbox that had it's status changed in an .onSelChange?

Bored with the real world? Try QuakeWorld!
empezar is offline   Reply With Quote
Old 3rd April 2006, 15:53   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
No doubt it's possible but nobody has bothered trying to get it to work. You'd need to create your own version of the RadioButton macros set.

-Stu
Afrow UK 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