LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
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

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I select Multiple Items in a Chart Brooks Charts and Charting in Excel 3 April 4th 23 10:16 AM
Transferring items between multicolumn listboxes [email protected] Excel Discussion (Misc queries) 2 September 28th 07 03:09 PM
how do I select one from multiple items Jono Excel Discussion (Misc queries) 0 March 15th 06 02:08 PM
Select Distinct Items in a Column Raul Excel Programming 3 December 3rd 04 05:48 PM
Select multiple items in a listbox uecem[_4_] Excel Programming 2 November 26th 04 02:00 AM


All times are GMT +1. The time now is 08:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"