Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Attach & Delete File
Message
 
 
À
30/12/2005 23:49:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01082209
Message ID:
01082223
Vues:
8
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform