Results 1 to 2 of 2

Thread: Another listbox question

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2006
    Posts
    147

    Another listbox question

    Hi I have a listbox (list1) that i've set to the checked style and i'm using VB6

    Is there a way of setting conditions in the listbox that says something along the lines of:

    If checkbox in List1 is checked order item by Asc or if checkbox in List 1 is unchecked order item by Desc?

    I know in other VB versions you can use the ItemChecked but VB6 doesn't have that property

    Any Ideas?

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Another listbox question

    First of all. Why would you sort the list based on two items in that list being checked or unchecked? Wouldnt it be better to have option buttons to select Asc or Desc sorting? Also, if you want checkboxes, I would recommend you use ListView instead. It has much more options than listbox, plus its faster and so on.

Posting Permissions

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



Click Here to Expand Forum to Full Width