Link to home
Start Free TrialLog in
Avatar of MacSverre
MacSverre

asked on

Checkbox List

I want to present the user with a list of checkboxes (as used in some installers for selecting install options). It must be able to accomodate an arbitrary numer of items. I know I could create some pictureboxes and make new check boxes within one of them as needed, and put up scroll bars if needed, but if someone has done it before, which I'm sure someone has, then it's no reason for me to do it again...

Regards,
   MacSverre
Avatar of MacSverre
MacSverre

ASKER

Edited text of question
you are missing the whole point of this site - you need to learn and listen
and not getting easy answers

what you want is easy to do - open help and look under checkbox - great examples

dont wait for someone to write it for u - write it yorself
Ehm... If you look at my previous questions, I think you'll see that I'm not looking for "easy answers"... Maybe you're using VB5 - I've heard that the VB5 "list" control includes a checkbox option, but I'm using VB4, because there needs to be a 16-bit version of the program. Also, in VB4 there are no examples for the checkbox control...

What I want to do here is not all that easy. I know _one_ way to do it, which is to make two picture boxes within each other, make the necessary text boxes within the inner picture box, resize the inner picture box to accomodate the checkboxes, and - for when the inner picture box becomes bigger than the outer - have scrollbars to move the inner picture box around in the outer picture box. But this will take quite a bit of time and coding, and it would be much better to have a ready-made solution, which is tried and tested...

And in case I haven't made it clear enough; I don't _know_ how many items (that is, checkboxes) will be used - that is decided at run time.



Regards

   MacSverre
Ooops... In my last comment, I meant to say "make the necessary _check_ boxes", not "text boxes"...

Sorry!



   MacSverre
ASKER CERTIFIED SOLUTION
Avatar of cymbolic
cymbolic

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you've just had to clear things out at your question!
sorry - i just see a lot of members who wants only the code and
not the way to do things!!
I really wanted the code for a complete "checkbox list", but it doesn't seem like I'll get it, so I'll just have to roll my own...

web_crusher: Sorry I wasn't specific enough... I (obviously) thought I were. I understand your concern... :-)



Regards,

   MacSverre



P.S. I'm still interested in "the works". So if anyone has it, just add a comment, and I'll open a new question for you...