hi everybody

In my program I don't want anyone write anything to the text of combobox.. The user could only choose one of the indexes from the list of combobox... how can I do that?

Hi,

Set this property of Combobox in Propertysheet:

Style = 2 DropDownList

REgards
Veena

commented: i have learned a lot from you +1

simply write the values in the list property of the combobox.....
certainly after that.......

It is not compulsary to write the values in the list property of the combobox.
You can also fill that dynamically at run time..

thank you all, got it...

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.