|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
listbox drop stylein 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. GS,
Perhaps you are thinking of the combobox with its DropDownStyle property, which can be set to DropDownList? Kerry Moorman Show quoteHide quote "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. > > > 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. Show quoteHide quote "Kerry Moorman" <KerryMoor***@discussions.microsoft.com> wrote in message news:FD294495-FA60-4FF1-9976-2B2C013B024B@microsoft.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. >> >> >> On 29/09/2006 in message <#JgOWbB5GHA.1***@TK2MSFTNGP05.phx.gbl> gs wrote:
>combobox would have been ok except I don't' want people to enter arbitrary The Combo Box has 3 different styles, one of them doesn't allow entry of >text text, it just allows picking from existing items. -- Jeff Gaines 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 Show quoteHide quote "Jeff Gaines" <whitedragon@newsgroups.nospam> wrote in message news:xn0eru7ql8uko8t000@msnews.microsoft.com... > On 29/09/2006 in message <#JgOWbB5GHA.1***@TK2MSFTNGP05.phx.gbl> gs 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
String -> StringBuilder Optimization
Create new "me" Think BEFORE you post. What in the world is my prof trying to say? Dealing with MsgBox How to figure this one out - "The isnull function requires 2 argument(s)" Two Pass Update - best way? vb.net 2003 Data Wizard Form UserControl(?) Question refrence a form object using a varible. A little shove in the right direction please..... |
|||||||||||||||||||||||