|
|
#1 |
|
Junior Member
Join Date: Sep 2006
Posts: 1
|
Abt Radio Buttons
Hi,
I added one custom page using NSIS with some radio buttons.Based on a selection of radio button it has to pick up the exact CUSTOM page. Please, help me on this regard.If possible can any one send a sample script to do that. Thanks in advance. regards, srinivas |
|
|
|
|
|
#2 |
|
Member
Join Date: Aug 2006
Posts: 86
|
Hello,
Even I need that too. |
|
|
|
|
|
#3 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
The selected radio button field will have a state of 1. Simply read the state values of each radio button, and decide which page to show according to the selected one. Something like:
code: NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Feb 2006
Posts: 44
|
Hey there, this is also on the topic of radio buttons, mine doesn't seem to work in the modern ui. I've even tried compiling the one in the NSIS online page, and that doesn't work.
I've attached my .nsi file, and the commented out coding is the original one... can anyone tell me why this isn't working? |
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Put .onInit and .onSelChange after the section definitions. If the sections are defined later in the script, ${g1o1} and friends have no meaning and they all translate to zero.
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 | |
|
|