Skip to content
⌘ NSIS Forum Archive

RadioButton problem

2 posts

BioDuo#

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?