zoriksh
2nd December 2003 21:18 UTC
listbox + checkboxes component
Hi everybody,
I am trying to find a similar widget to the attched image.
This is from WISE install builder. The box basically hides a variable that adds an alphabet letter to the variable according to the status of the checkbox.
Another solution for me would be to somehow use the components page a second time with other components to pick from.
If this is not yet done in NSIS, can it be considered as a feature request ? ;)
Zorik
Joost Verburg
2nd December 2003 21:59 UTC
Add a section that contains the code for the option.
If you want a separate page you can add another components page.
zoriksh
3rd December 2003 10:18 UTC
I think I was misunderstood...
I want to have the regular components page in my setup, and a second one that has the same layout/"look and feel", but has different components.
The second one should be displayed if I choose a specific component in the first page, but this is not important. I can handle always showing the second page.
How can I manage the sections for the component page? I know I can make a hidden section by starting it with a minus ("-") sign.
How can I show or hide sections on the fly, and can I do this in separate components pages?
Thanks, Zorik
kichik
3rd December 2003 11:40 UTC
Use SectionSetText to show and hide on the fly. Set a section name to "" to hide it. Use another `Page components' or if using the MUI, the components macro, two times to have two components pages.
zoriksh
3rd December 2003 14:54 UTC
Thanks :)
This does the trick.