473,473 Members | 1,637 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

"Drop down" effect missing from Listbox

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
2 2080
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Larry R Harrison Jr | last post by:
I am looking for javascript and a basic tutorial on how to make mouse-over drop-down menus--the type that when you "hover" over a subject links relevant to that subject "emerge" which you can then...
4
by: Larry R Harrison Jr | last post by:
I have them working now, courtesy of the link given in the prior thread--the HVMenu over at Dynamic Drive myself. http://www.dynamicdrive.com I have them working as side-bar menus, not...
1
by: John | last post by:
Hi everyone. I'm having a real problem with a drop-down menu that I'm using. Simply, as I scroll down the page, it follows me. I don't want this!! I guess it's all my fault for using...
0
by: Alan | last post by:
I 'm new for .NET, and actually on my own to develop my employer's web application. I can't bind my dropDownList control to entries in the database. Here is a code:...
4
by: charliewest | last post by:
I need to set the selected drop down list value at run time. I am aware of the method "SelectIndex" however this works only if you know the precise location of the value within the ListItem...
4
by: charliewest | last post by:
Hello - I've binded a dataset to a Drop Down List control on my web form, using C#, however, the DateTime value is printed in long format. For example: 04/07/2006 12:00 AM. My code is: ...
2
by: Doogly | last post by:
Hello everyone, I'm really new to Javascript and was wondering if anyone could give me code for a nice looking drop down menu. Ideally it would do that little scrolly animation thingy when it...
1
missshaikh
by: missshaikh | last post by:
Hi All Friends. I need your help.. I want to format Bold Italic in Drop Down List Control in C#.i retrieve my data from db. like this . ________________ CD ROOM
2
by: Doug | last post by:
Hi, I can't figure out how to create a drop-down list box. The help file says it exists. The icon in the help file matches the combobox in the toolbox. I tried using a combox box, both with and...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.