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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.