How I can make this:
1. If I select first section all ather section unchecked.
2. If I select second first unchecked and third check.
This only simple example, in real task I want do this with many different sections.
Interactive change Sections
3 posts
Use the Section.nsh macros. one-section.nsi is an example of sections working like option buttons.
Originally posted by Joost VerburgThanks, but I have this structure:
Use the Section.nsh macros. one-section.nsi is an example of sections working like option buttons.
And I want that only 1 section must be checked.
1. SubSection
a. Section
b. Section
2. SubSection
a. Section
b. Section
I write
but if I click on not active subsection 2 sections checked.
Function .onSelChange
!insertmacro StartRadioButtons $1
!insertmacro RadioButton ${Section1}
!insertmacro RadioButton ${Section2}
!insertmacro RadioButton ${Section3}
!insertmacro RadioButton ${Section4}
!insertmacro EndRadioButtons
FunctionEnd