|
|
#1 |
|
Junior Member
Join Date: Oct 2003
Posts: 7
|
List of checkboxes in custom page?
I'm using MUI and would like to put up a list of checkboxes in a custom page, not unlike the components list.
The list will be generated at runtime, so I'm not sure how long it's going to be. I'd like to have a scrolling list with a checkbox next to each entry, and get back the list of entries (in some form) that the user checked. Ideally, they'd all be checked by default. Is this something that's possible within InstallOptions? If so, I haven't figured it out. -Z |
|
|
|
|
|
#2 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
You can use an extra components page and show/hide sections.
|
|
|
|
|
|
#3 | |
|
Junior Member
Join Date: Oct 2003
Posts: 7
|
Quote:
Thanks for the quick response. I'm not sure exactly how to make that work, though. I need to run an external program that returns a list. I basically want one section for each entry in that list. This also happens as a "post-processing" step. So, I'd run my normal install process, hide all the "real" sections by setting their text to "", and then create new sections for my list entries? Can you create sections on the fly like that, or do I need to create a bunch of sections and rename them at runtime? Thanks again! -Z |
|
|
|
|
|
|
#4 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
You can't create section at run-time.
If the number of checkboxes is limited you can create a bunch of them and rename. Otherwise you'll have to use the System plug-in with Windows API to create a listview with check boxes. |
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Oct 2003
Posts: 7
|
Quote:
Thanks again, -Z |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|