Home All Groups Group Topic Archive Search About
Author
29 Sep 2006 6:09 PM
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.

Author
29 Sep 2006 8:11 PM
Kerry Moorman
GS,

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

Kerry Moorman


Show 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.
>
>
>
Author
29 Sep 2006 10:29 PM
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.


Show 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.
>>
>>
>>
Author
30 Sep 2006 1:45 PM
Jeff Gaines
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
Author
1 Oct 2006 5:25 AM
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

Show 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

AddThis Social Bookmark Button