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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Selection in List Box

Status
Not open for further replies.

Buj123

Programmer
Jan 5, 2004
96
US
Hello,
I have a List box on my form and i have kept it as Multi select so that the user can make multiple selections. But when the user wants to select all items in the list, how to do that, the Shift+Arrow Down key also not working.

I want to add a button to the form to select all items in the list box, but i don't know which function will do that, any other suggestions will be great.
 
Buj123
Have a look at faq702-4246 and see if that helps.

Tom
 
Is the MultiSelect property set to Extended ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
If i select the Multiselect to Extended then i should select the items sirially, i can't select randomly.
 
Even with the Ctrl key ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Buj123
I'm not sure where you are with this, but if you want a method to add <ALL> to the top of your list box, and when that is clicked all items in the list are selected, I will send it to you.

Tom
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top