View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
droopy928gt[_4_] droopy928gt[_4_] is offline
external usenet poster
 
Posts: 1
Default Listboxes and select items in it


Dear all,

I've got a question on listboxes which I can't find an answer for no
figure it out myself if what I want is at all possible.

I use a textbox in combination with a listbox to find and select items
For the listbox the multiselect property is true and liststyle is se
to options.

What I do is to type in the textbox and depending upon what is typed a
item is selected in the listbox, being its listindex is set BUT NOT it
selected property.

This all works well basically except for the fact that you can't se
which items listindex is set unless you set focus to the listbox. Whe
an items selected property is set though its both highlighted and it
checkbox is set.

The question basically is if its possible to highlight an item in th
listbox without setting its selected property.

OR

If someone knows of a way to show which listbox items listindex i
currently set without the listbox having the focus.

Thanks for any ideas and tips.

Best regards,

Leon v/d Willi

--
droopy928g
-----------------------------------------------------------------------
droopy928gt's Profile: http://www.excelforum.com/member.php...fo&userid=3023
View this thread: http://www.excelforum.com/showthread.php?threadid=50565