[thelist] VB Combo Box making first element visible

BT Bigpant bigpant at btinternet.com
Tue Mar 19 17:48:01 CST 2002


>ComboBoxName.ListIndex = 0

great ! That worked a treat. I was looking for a design view approach.

>Also, you may want to check on the Style property for the combo box.  If
you
>don't want the user to be able to enter values or have no need for that
>functionality, change the style to type 2 (Dropdown List).

yeah, I'd sussed that.

>If you want it to automagically select the first value

Is this a typo, 'cos if it is, it's brilliant : auto - magically cool !

Thanks for the help,
Phil




More information about the thelist mailing list