Archive: Sections, SectionGroups -- selecting only one section


Sections, SectionGroups -- selecting only one section
I looked on the threads about managing selected sections, but I didn't find anything nice what solves my problem.

My goal: two sections and sectiongroup containing another two sections. User can select EXACTLY one section of total count of 4 sections.

I don't see any other way than:
a) disable the group
AND
b) manage every possible situation that can happen in .onSelChange.

Macros StartRadioButtons and RadioButton from sections.nsh are nice, but I couldn't find a way, how to perform this "mutual exclusion" with them.

Can anyone help me please?


Nobody?


OK, I'll post my experiment. Finally, macros StartRadioButtons and RadioButton was useful.

I have what I needed now. Can anyone tell me if is this way the easiest one? Thank you.


The RadioButton is indeed the easiest way to achieve this.