By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,200 Members | 1,559 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,200 IT Pros & Developers. It's quick & easy.

"Drop down" effect missing from Listbox

P: n/a
I am using a Listbox and can not get the "drop down" effect. My
listbox is populated with 20 items and a vertical scrollbar is
automatically added. One item is visible. When I click on the
vertical scrollbar I can still only see one item at a time. The
effect I want is as follows:

The Listbox only displays one item until the user clicks on the
right-hand side. When the user clicks on the right-hand side, the
list "drops down" to make all items visible.

Can I do that with a Listbox or should I use a different type of
control?

Kyle Blaney
(reply to this group and/or kblaney___AT___sympatico.ca)
Nov 15 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Kyle Blaney" <ab****@hotmail.com> wrote in message
news:a9**************************@posting.google.c om
I am using a Listbox and can not get the "drop down" effect. My
listbox is populated with 20 items and a vertical scrollbar is
automatically added. One item is visible. When I click on the
vertical scrollbar I can still only see one item at a time. The
effect I want is as follows:

The Listbox only displays one item until the user clicks on the
right-hand side. When the user clicks on the right-hand side, the
list "drops down" to make all items visible.

Can I do that with a Listbox or should I use a different type of
control?


It sounds to me like you are describing a ComboBox

--
C# newbie... posts are probably inaccurate, inelegant or both!

Nov 15 '05 #2

P: n/a
Use the ComboBox control

-Rob Teixeira [MVP]

"Kyle Blaney" <ab****@hotmail.com> wrote in message
news:a9**************************@posting.google.c om...
I am using a Listbox and can not get the "drop down" effect. My
listbox is populated with 20 items and a vertical scrollbar is
automatically added. One item is visible. When I click on the
vertical scrollbar I can still only see one item at a time. The
effect I want is as follows:

The Listbox only displays one item until the user clicks on the
right-hand side. When the user clicks on the right-hand side, the
list "drops down" to make all items visible.

Can I do that with a Listbox or should I use a different type of
control?

Kyle Blaney
(reply to this group and/or kblaney___AT___sympatico.ca)

Nov 15 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.