Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List view control
Message
 
 
To
13/12/2002 12:27:55
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00732715
Message ID:
00733131
Views:
21
You can use Remove() method of Listitems collection.
WITH Thisform.Listview1.Listitems
  .Remove(.Count)   && Remove last item
ENDWITH
The Remove() method accepts either item index or item key as parameter.

>Hi
>
>
>Can you tell me how I remove an item from a list view control
>
>Ihave tried
>
>with listview1
>
>.listitem.selected=true
>.listitem(lnCount).remove
>
>endwith
>
>
>But this doesnot remove the item at all
>
>
>Hope you can help
>
>Regards
>
>Steven
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform