|
|
#1 |
|
Junior Member
Join Date: Jul 2004
Posts: 30
|
Change radiobutton in .oninit function
Thank for this very good forum, i've learned a lot with it.
Sorry for my bad english, i'm not english native. so here's my problem: in my scrip i use radiobutton in a .onselchange function: section $(SecHP20Name) hp20 WriteRegDWORD .... WriteRegDWORD .... sectionend section /o $(SecHP21Name) hp21 WriteRegDWORD .... WriteRegDWORD .... sectionend section /o $(SecHP51Name) hp51 WriteRegDWORD .... WriteRegDWORD .... sectionend Function .onSelChange !insertmacro StartRadioButtons $8 !insertmacro RadioButton ${hp20} !insertmacro RadioButton ${hp21} !insertmacro RadioButton ${hp51} !insertmacro EndRadioButtons FunctionEnd this works great, but in .oninit function i need to change the default selected radiobutton but if i use sectionsetflags or !insertmacro SelectSection, it select one of the radiobutton without unselect the others one (like if the radiobutton wasn't active). i hope i've been clear (if not i'll try to be more acurate) thanks in advance ++ |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|