HaMsTeYr
3rd March 2012 15:25 UTC
Custom Page with Checkboxes to Scroll
I know that this question MAY have been answered before, but the last correspondence was in 2002 and I'm wondering if things may have changed since then.
What I'm looking for is essentially this:
http://dl.dropbox.com/u/508717/Untitled-1.jpg
Something did I did before, using a custom page, that dynamically writes the checkboxes on the page via the files of that extension in a certain folder. The limitation of this however, is that I can only have 20 on screen at one time, and that is certainly an issue for me.
What I'm asking is this: Is there anyway I can display a near infinite number of this in a single NSIS page, through scrolling or any other methods? I'm trying to figure this out but nothing comes to mind.
Help would be greatly appreciated.
Anders
3rd March 2012 22:48 UTC
There is no scrolling container window implementation for NSIS AFAIK
You could use a ListView with checkboxes but that is a little bit of work, there should be a listview nsh around somewhere, try searching for it...
MSG
4th March 2012 11:16 UTC
Perhaps it may be easier to make a multi-selectable list without checkboxes?
HaMsTeYr
4th March 2012 11:58 UTC
@MSG How would you propose I do that?
Yathosho
4th March 2012 13:11 UTC
Originally posted by HaMsTeYr
@MSG How would you propose I do that?
NSD_CreateListBox?
anyway, i wanted to point out this installer demands quite a lot from the user. if you can't avoid this, at least consider adding select/deselect all buttons.
also i was wondering why you didn't use the components page for the selection, would've been the easiest way to do it.
HaMsTeYr
4th March 2012 13:17 UTC
lol, I'm not using NSIS as an installer in this case, and in above mentioned case. They're not meant to install things per se.
For example, the application above, was made so that it was easier for me to extract the contents of .u files for Unreal Tournament, where it would do so for only the selected .u files. To do so manually would be using the command line prompt for it all.
I was planning to see if I could make an app installer for Android, where if I pointed to the location of all my APK files, it would automatically select them all, and I could untick the ones I don't want.
It's simpler to say I am using NSIS for more than what it was intended for.
Anyway, I'll have a look at that, thanks.
EDIT: Not really what I'm looking at with ListBoxes, not what I wanted from the interface at least.
Is there anyway to make something like this in NSIS:
http://i.msdn.microsoft.com/dynimg/IC25294.png
Taken from the MSDN, Check Box Lists.
EDIT-2: Case should be closed, no idea why this didn't come up earlier, something written by Afrow-UK before.
http://nsis.sourceforge.net/EmbeddedLists_plug-in
Looks like exactly what I need :)