Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2003
    Posts
    26

    Unanswered: Multi Select Listbox Command

    Is there a way to set a listbox to multi select in Visual Basic rather than in the properites?

    I want a toggle button to do this. One option is multi select, the other is not. So I was planning on doing this with an OnClick...

    Thanks.
    Life's a bowl of punch, go ahead and spike it.

  2. #2
    Join Date
    Dec 2003
    Posts
    36
    I should do it this way:
    make 2 listboxes and put them visible or not. Wether you press a button you make one of them visible

    greetz,
    daffmeister
    ... man man man ...

  3. #3
    Join Date
    Jul 2003
    Posts
    26
    Sounds like a good fall back plan; however, it is bothering me that there is a MultiSelect command in VB.
    Life's a bowl of punch, go ahead and spike it.

  4. #4
    Join Date
    Sep 2003
    Location
    MI
    Posts
    3,713
    To quote the MS help ... ListBox: MultiSelect property:

    You can set the MultiSelect property by using the list box's property sheet, a macro, or Visual Basic.
    This property can be set only in form Design view.

  5. #5
    Join Date
    Jul 2003
    Posts
    26
    Thanks, I over looked that important last sentence.
    Life's a bowl of punch, go ahead and spike it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •