|
-
Jan 25th, 2000, 12:14 PM
#1
Thread Starter
Junior Member
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?
-
Jan 25th, 2000, 12:30 PM
#2
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).]
-
Jan 25th, 2000, 12:56 PM
#3
New Member
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 !
-
Jan 26th, 2000, 08:50 AM
#4
Thread Starter
Junior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|