Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Attach & Delete File
Message
De
31/12/2005 10:48:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01082209
Message ID:
01082261
Vues:
7
Thanks Sergey,

It works fine for to delete the file.

but I have another question for this line of code to retrieve an icon from

(Ole ImageListctrl properties in Images - index 1) from another ActiveX control.

Always give the first icon ( index 1) for word.doc even my excel.xls (index 2) was attached to the Listview1, the same word icon for excel.xls

How to code to get the right icon as variant for each file attached ?
for me, I put 1 that is why, get 1 word.doc by default.

TIA for anybody who can help me out.
thisform.listView1.ListItems.Add(index as variant,key as variant,text as variant,icon as variant,smallicon as variant) as lListItem

*icon as variant = 1, how to get 2 for excel.xls

loItem1 =thisForm.listview1.listItems.Add(,,m.myfile,1,1)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform