![]() |
#1 |
Senior Member
Join Date: Jun 2007
Location: Otrokovice, Czech Republic
Posts: 308
|
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? Last edited by pospec; 4th October 2007 at 08:04. |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Jun 2007
Location: Otrokovice, Czech Republic
Posts: 308
|
Nobody?
|
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Jun 2007
Location: Otrokovice, Czech Republic
Posts: 308
|
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. |
![]() |
![]() |
![]() |
#4 |
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
The RadioButton is indeed the easiest way to achieve this.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|