Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ImageList and ListView
Message
De
09/03/2007 02:48:18
 
 
À
09/03/2007 00:45:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01202180
Message ID:
01202190
Vues:
16
>Hi Guys,
>
>Im adding icons to my Imagelist control dynamically. I have certain icons that causes errors when added to the ImageList control.
>
>*ThisForm.oleImageList1.ListImages.Add(,'Module3',LoadPicture('c:\Icon1.ico'))
>
>
>The error is: OLE error code 0x800a01e1:Unknown COM status code.
>
>
>What might be the cause of this error?
>
>
>Thanks in advance....

Try
ThisForm.oleImageList1.Object.ListImages.Add(,'Module3',LoadPicture('c:\Icon1.ico'))
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform