Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Attach & Delete File
Message
 
 
To
30/12/2005 23:49:15
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01082209
Message ID:
01082223
Views:
9
To delete currently selected item
WITH ThisForm.listview1.OBJECT
  IF .SelectedItem.Selected
    .ListItems.Remove(.SelectedItem.Index)
  ENDIF
ENDWITH
>
>
>Any file in the Listview after the Itemclick event that means I could have
>many files as word.doc, excel.xls,text.txt,prog.prg,prog.fxp etc... in the
>listview!!!
>
>I am not sure what and how to know the (index as variant) when I use by default: .remove(1) for now and don't know to get the right selected one.
>
>ThisForm.listview1.listItems.remove(1) as .remove(index as variant)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform