This is a migrated thread and some comments may be shown as answers.

[Solved] How to edit item in combo box

1 Answer 63 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Narasima Perumal Chandramohan
Top achievements
Rank 1
Narasima Perumal Chandramohan asked on 17 Nov 2009, 12:04 PM
I want to show list of cities to the user loaded in the combobox. If there city is not found they need to enter the city name in the combobox itself. How the user can enter a new item in the combobox?

1 Answer, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 17 Nov 2009, 01:05 PM
Hello Narasima Perumal,

You can set the AllowCutomText property to True in order to allow the user to type the text in combobox and you for adding the new item, simply call the Add() method of the item. Checkout the online demo for more information:
Add/Remove/Disable Items

Regards,
Shinu.
Tags
ComboBox
Asked by
Narasima Perumal Chandramohan
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or