Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 18th March 2004, 08:53   #1
KirillKr
Member
 
Join Date: Feb 2004
Location: Kaliningrad, RF
Posts: 74
Send a message via ICQ to KirillKr
Interactive change Sections

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.
KirillKr is offline   Reply With Quote
Old 18th March 2004, 13:27   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
Use the Section.nsh macros. one-section.nsi is an example of sections working like option buttons.
Joost Verburg is offline   Reply With Quote
Old 19th March 2004, 07:59   #3
KirillKr
Member
 
Join Date: Feb 2004
Location: Kaliningrad, RF
Posts: 74
Send a message via ICQ to KirillKr
Quote:
Originally posted by Joost Verburg
Use the Section.nsh macros. one-section.nsi is an example of sections working like option buttons.
Thanks, but I have this structure:
code:

1. SubSection
a. Section
b. Section
2. SubSection
a. Section
b. Section


And I want that only 1 section must be checked.
I write
code:

Function .onSelChange
!insertmacro StartRadioButtons $1
!insertmacro RadioButton ${Section1}
!insertmacro RadioButton ${Section2}
!insertmacro RadioButton ${Section3}
!insertmacro RadioButton ${Section4}
!insertmacro EndRadioButtons
FunctionEnd


but if I click on not active subsection 2 sections checked.
KirillKr is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump