Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PROS Speak Up!! How do I Select and Highlight ListBox Value

Status
Not open for further replies.

zevw

MIS
Jul 3, 2001
697
0
0
US
"LISTBOX QUESTION - NOT A COMBO BOX"

I am wondering!

Is there a way how to have the the item in the listbox selected with that faded border that it should be the selected and "HIGHLIGHTED" value.

So lets say I have 10 items in my listbox (not a combo box), and I scroll with the mouse to the 6th item the faded border is around it, but it is not selected. The only way it will be selected is, if I will click into the listbox onto the item and it will become hilighted. Can I make that when I scroll with the mouse down that the highlighting will go along and it will automatically be selected.

So I want to hear some good suggestions from the Pro's on this.
 
Ensure the list box has got focus and then use the arrow keys on the keyboard
 
Thanks FireViking!!

How can I get focus when clicking with the mouse and not using the keyboard.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top