-
I have a combo box, style 1, where users can enter items into the list by typing it then hitting enter. I want the user to be able to select one of the list items already entered and be able to delete it by pressing the delete key.
How can I delete the selected record?
-
Don't you maen Style = 0? In any case this code will remove the entry.
Combo1.RemoveItem Combo1.ListIndex
------------------
Marty
Why is it called lipstick if you can still move your lips?
[This message has been edited by MartinLiss (edited 01-25-2000).]
-
Don't forget you need to trap the delete key as well if you only want the item to delete when the DELETE key is used !!! GOOD LUCK !
-