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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Delete selected item from a listbox or combo box

Status
Not open for further replies.

Mirak

Programmer
Aug 1, 2001
28
Hi,

I have a listbox that enables the users to add items and save it to a file. I also want them to be able to delete selected items. However, the remove option does not remove the selected item, it removes the first available item in the box. How do I tell VB to remove the selected item.

Any help would be appreciated.

Mirak

 
If you look on the next page of messages "Moving item between listboxes" I think you should see an answer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top