Results 1 to 3 of 3

Thread: [RESOLVED] Deselect a list item

  1. #1

    Thread Starter
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    Resolved [RESOLVED] Deselect a list item

    I am having problems with this. I have a screen with 4 list boxes. When I click on a list item, it turns blue (background) and the logic is processed. However, after a few selections, I have many 'blue' items in the various boxes. I need to be able to clear (blue background) the selection as a part of the processing the selection. The "clear" method deletes everything from the list box. I don't want that. I have the gut feeling that it is something like setting the index to -1 or something like that.

    Any help?
    ===================================================
    If your question has been answered, mark the thread as [RESOLVED]

  2. #2
    PowerPoster
    Join Date
    Jun 2001
    Location
    Trafalgar, IN
    Posts
    4,141

    Re: Deselect a list item

    Setting the listindex of the box to -1 will clear the selection

  3. #3

    Thread Starter
    PowerPoster Pasvorto's Avatar
    Join Date
    Oct 2002
    Location
    Minnesota, USA
    Posts
    2,951

    Re: Deselect a list item

    I got that through some trial and error. Thanks for the quick response, though.
    ===================================================
    If your question has been answered, mark the thread as [RESOLVED]

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