How to clear selected items from a list box
I have a problem clearing the selected items fom a list box (MultiExtended). I have tried with:
but nothig happens. When I loop and use GetSelected(x) and then RemoveAt(x) if GetSelected(x) = True I can remove selected items but only one by one. Can anybody please explain why listboxName.SelectedItems.Clear() is not working and show me the best and easiest way to clear all items that are selected on a list box by one click on a button?
Thanking you in advance
Last Post: 05-25-2001, 11:41 PM
By Ben in forum VB Classic
Last Post: 02-21-2001, 03:13 PM
By Grego in forum VB Classic
Last Post: 11-13-2000, 09:51 AM
Last Post: 09-18-2000, 06:04 PM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL