473,410 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,410 software developers and data experts.

listbox drop style

GS
in visual studio 2005 express VB I found mention of drop style for listbox
but so far my searches came up empty as to how and what they are.

I was to set height and I figure I can probably do something with setting
height during the focus events to simulate drop down list

However if there are drop down list style or dropdown list then it would be
better for to use them.
Sep 29 '06 #1
4 1556
GS,

Perhaps you are thinking of the combobox with its DropDownStyle property,
which can be set to DropDownList?

Kerry Moorman
"GS" wrote:
in visual studio 2005 express VB I found mention of drop style for listbox
but so far my searches came up empty as to how and what they are.

I was to set height and I figure I can probably do something with setting
height during the focus events to simulate drop down list

However if there are drop down list style or dropdown list then it would be
better for to use them.
Sep 29 '06 #2
gs
thank you.

combobox would have been ok except I don't' want people to enter arbitrary
text
I tried using droplistbox with height adjusted by focus events. Functionally
OK but visually is less than desirable. The display text is not the
selected item.
"Kerry Moorman" <Ke**********@discussions.microsoft.comwrote in message
news:FD**********************************@microsof t.com...
GS,

Perhaps you are thinking of the combobox with its DropDownStyle property,
which can be set to DropDownList?

Kerry Moorman
"GS" wrote:
>in visual studio 2005 express VB I found mention of drop style for
listbox
but so far my searches came up empty as to how and what they are.

I was to set height and I figure I can probably do something with setting
height during the focus events to simulate drop down list

However if there are drop down list style or dropdown list then it would
be
better for to use them.

Sep 29 '06 #3
On 29/09/2006 in message <#J**************@TK2MSFTNGP05.phx.gblgs wrote:
>combobox would have been ok except I don't' want people to enter arbitrary
text
The Combo Box has 3 different styles, one of them doesn't allow entry of
text, it just allows picking from existing items.

--
Jeff Gaines
Sep 30 '06 #4
GS
thank you
So I will use DropDownList and just populate the items for the cobobox, use
the selectedIndex to identify what is selected

This will save me the hassle of figuring to scroll the listbox

"Jeff Gaines" <wh*********@newsgroups.nospamwrote in message
news:xn****************@msnews.microsoft.com...
On 29/09/2006 in message <#J**************@TK2MSFTNGP05.phx.gblgs wrote:
combobox would have been ok except I don't' want people to enter
arbitrary
text

The Combo Box has 3 different styles, one of them doesn't allow entry of
text, it just allows picking from existing items.

--
Jeff Gaines

Oct 1 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: John Guarnieri | last post by:
Hi All, I need some code to drag items in a list box either up or down along with not just the text but with the itemdata too. Can anyone hook me up? TIA John
3
by: Reb | last post by:
Hi, I am using drop down menu in my pages. In one of my page,there is a listbox control below the menu. This listbox control is hiding the drop down menu items. How can i make the drop down...
1
by: Edward | last post by:
I am having a terrible time getting anything useful out of a listbox on my web form. I am populating it with the results from Postcode lookup software, and it is showing the results fine. What...
2
by: Rosanne | last post by:
I have a menu written in javascript. I include that menu on an asp page. The aspx page contains both a listbox and a datagrid. There i one drop down menu that overlaps the place where the...
8
by: Steve Schroeder | last post by:
For some reason I cannot get the OnSelectedIndexChanged event to fire for a listbox I have on a page. I'm able to populate the listbox with data from a stored procedure, but cannot trigger the...
3
by: James Radke | last post by:
Hello, I was curious, is it possible to create drag and drop interface from listbox to listbox on a webform application (i.e. vb.net)? Basically the application would need to load multiple...
3
by: Dean Slindee | last post by:
In a checked listbox, I am allowing drag/drop of the items within (resequencing). Problem is, when dropping a checked item, the checked state always reverts to unchecked (unwanted). Anyone know...
1
by: Zyrthofar Blackcloak | last post by:
Hi everyone I have a listbox with more items in it than is printed on screen. I need the index number of the first shown item to move another listbox to the same position... Explained differently,...
2
by: cshaw | last post by:
Hello Everyone, I am having problems with a listbox control. I have a page with a couple of labels and drop-down lists at the top, and then below there is a table with two columns, the first column...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
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...

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.