Groups | Blog | Home
all groups > dotnet framework > september 2006 >

dotnet framework : listbox drop style


GS
9/29/2006 12:09:16 PM
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.

Kerry Moorman
9/29/2006 1:11:02 PM
GS,

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

Kerry Moorman


[quoted text, click to view]
gs
9/29/2006 4:29:14 PM
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.


[quoted text, click to view]

AddThis Social Bookmark Button