About RadioButton?
I add two Radiobuttons(named A,B) on my self-defined page.
Question:
1. I want A is checked at the default state.
2. I want the setup can judge which button is checked when it is leaving the page.
Thanks to reply!!!!!!!!;) :)
Archive: About RadioButton?
About RadioButton?
I add two Radiobuttons(named A,B) on my self-defined page.
Question:
1. I want A is checked at the default state.
2. I want the setup can judge which button is checked when it is leaving the page.
Thanks to reply!!!!!!!!;) :)
Use InstallOptions or nsDialogs, both of which provide the functionality that you need.
Stu
I am blunt.Please give me detail answer.Thanks!
Install Options Readme
1) To set a radiobutton, simply use
!insertmacro INSTALLOPTIONS_WRITE "IniFile" "Field Nr." "STATE" "1"
befor displaying the page. "1" being checked, "0" being unchecked.
2) To check the state of a radiobutton, use
!insertmacro INSTALLOPTIONS_READ $Var "IniFile" "Field Nr." "STATE"
in the leave-function of your page.