Hi to all, I am new to this field, working on VB6.0 and oracle 8i, I need help in combo box object, when the form loads I want combo box to show as “select” in “Text” property, rest I have loaded in “List” property. Thanks in advance please provide example program of this

just a rough guess. cant you just say the following for the very first item added to the combobox?

combobox.additem " Select "


you execute this command in the load event procedure of the form. before you add anything else to the combobox.

just a rough guess. cant you just say the following for the very first item added to the combobox?

combobox.additem " Select "


you execute this command in the load event procedure of the form. before you add anything else to the combobox.

Thanks for the replay

this works fine for dropdown and simple combo, i want this in dropdown list combo(style property) when the form loads

Hi,

I think you are looking for:

Me.Combo1.AddItem " Select "
Me.Combo1.ListIndex = 0

Hi,

I think you are looking for:

Me.Combo1.AddItem " Select "
Me.Combo1.ListIndex = 0

hi, that works fine thanks

This question has already been answered. Start a new discussion instead.