|
|
#1 |
|
Junior Member
Join Date: Jul 2008
Posts: 4
|
How to get state of NSD_RadioButtons
Hi,
I'm a newbie to NSIS. I wonder how to get the state of NSD_RadioButtons. A working example would be very welcome, *especially* on these questions: - In which part of the NSI is the code to be put? (Sction/Function). - How can the state be retrieved and how do I have to write the code dealing with a special state? E. g., - Create RadioButton - Get button state - If state = checked then ... else ... All of the examples I found were dealing with Checkboxes, and adapting the code for RadioButtons didn't work for some reason. |
|
|
|
|
|
#2 |
|
Forum King
|
i havn't tried, but i guess you have to change the CB portion of the code to RB?
|
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 2,779
|
check boxes and radio buttons are pretty much the same thing when it comes to getting the state, the same code should work without the need to modify it
IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|