Archive: RadioButton problem


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


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?

1: no idea atm

2:
use

Flags=DISABLED

in your custompage.ini for the checkbox field :)