|
|
#1 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
one section problem
Hi there
![]() In 3.0b2, I have the following sections with checkboxes: code: And the macro stuff: code: When I test the installer, correctly I can checked only one in group ${fresa}, but it force me to choose one: 1.- how can I give the option to unselect either the checkboxes? Also, when I check ${CMDS} 2003, 2005 and 2008 are checked and in ${MINGW} is checked ${tdm} and not ${fresa} as expected...any ideas to help this old nsis user
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
Because radio buttons are supposed to force you to choose exactly one?
IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#3 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
I know...I didn't find one macro for checkboxes...is there one?
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
No you have to code your own logic. In NSIS 3 the changed section id is in $0 in .onSelChange.
IntOp $PostCount $PostCount + 1 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|