Archive: another section question!


another section question!
Hi i have a section question.

Subsection1
Section1a
Section1b
Section1c
Section1d
EndSubsection
Other sections

subsection1 is on startup unselected, and if it is clicked then section 1a and 1c need to become selected. also if 1a or 1c are clicked, then they need both to be select. Also, if 1b or 1d are selected, then 1a and 1c should be selected!

Hope this makes sense and some one can help, chris


should all be possible with the macros in Sections.nsh


I can't get it so that when you click the subsection1 that it ever responds. Here is my code.

Function .onSelChange

!insertmacro SectionFlagIsSet ${Section1} ${SF_SELECTED} "" next
next:
!insertmacro SelectSection ${Section1a}
!insertmacro SelectSection ${Section1c}




FunctionEnd


Your test is futile. It jumps to the same place in both cases. Jumping to "" means the next line, and the "next" label is also on the next line.