Results 1 to 3 of 3
  1. #1
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unselect multiselection in listbox (2000)

    Now, after i have make a selection of variuos item in listbox existis a comand to unselect in "one shot" all item ?

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Unselect multiselection in listbox (2000)

    Something like this should work...

    <pre> Dim x As Integer
    For x = 0 To Me.ListBox1.ListCount-1
    Me.ListBox1.Selected(x) = False
    Next</pre>


    Steve

  3. #3
    Gold Lounger
    Join Date
    Jan 2004
    Location
    Italy
    Posts
    3,245
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Unselect multiselection in listbox (2000)

    Nice, work!
    Tks.

Posting Permissions

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