Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   RadioButton problem (http://forums.winamp.com/showthread.php?t=248547)

BioDuo 12th June 2006 17:41

RadioButton problem
 
I use a SectionGroup which has 3 options
But when I use:

code:

Function .onInit

StrCpy $5 ${secCachOpt}

FunctionEnd

------

Function .onSelChange
!insertmacro StartRadioButtons $5
!insertmacro RadioButton ${secCachOpt}
!insertmacro RadioButton ${SecCachMed}
!insertmacro RadioButton ${SecCachPerf}
!insertmacro EndRadioButtons
FunctionEnd



and I click on the SectioGroup button, all 3 options get selected, I used the search but those scripts didn't work either.

And one more question, how do I set a ReadOnly flag on a custom page checkbox
I can (ofcourse) remove the checkbox, but is there a way to make it ReadOnly?

Comm@nder21 12th June 2006 20:10

1: no idea atm

2:
use

Flags=DISABLED

in your custompage.ini for the checkbox field :)


All times are GMT. The time now is 17:56.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.