Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Edit "able" ==combo box (tnx eguy and Jack Strawn)

Status
Not open for further replies.

johnjames

Programmer
Mar 2, 2002
11
US
I am looking how to build a combo box which I can make EDIT "ABLE". Or maybe a thread on how to do it.

I want to thank Eguy and Jack Strawn for the fine answer on the lower case conversion of the text box. It works super!!!!!!!!!!!!! Thanks.
 
John,
Setting the "Editable" property of a ComboBox automatically makes it editable. Make sure that your style is set to 1 - combobox, and not 2 - listbox. Listboxes are not editable, where combobox is. (Hence the name, Combo). They can also be used to "Add" items into the list. You need to make sure that you put the proper adjustments to "ADDLISTITEM" property.
Once you have the Combobox set as "Editable", selecting any item in the box will allow it to be edited. The only caviate I have had with this control is, once I set it editable, it is possible to pick other items from the list. Make sure you have your Source Control set to the appropriate field, and that you are using some sort of Table buffering (as apposed to Row buffering), unless you're going to include code that prompts for something like "Save this record before you move to another", or you'll lose your changes.

Best Regards,
Scott

Please let me know if this has helped [hammer]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top