Archive: How to get state of NSD_RadioButtons


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.


i havn't tried, but i guess you have to change the CB portion of the code to RB?


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