Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBI-Tech ctListBar
Message
De
09/07/2004 16:27:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00922627
Message ID:
00922716
Vues:
20
Hi Nick
Little example with DBI ctListBar 5.0
lcPictureFile = Getpict()
If !Empty(lcPictureFile)
	loPicture = LoadPicture(lcPictureFile)
	This.addPictureItem(1,"Item 1",loPicture)
	lnPicture = This.addImage(loPicture)
	This.addImageItem(1,"Item 2",lnPicture)
Endif
>I am trying to add an icon image to my dbi ctlistbar, but I keep getting errors. If I use addimageitem then it works:
>
>
thisform.ctListBar1.AddImageItem(1, "Bob Smith", 1)
>
>if I use addpictureitem, it bombs:
>
>
>thisform.ctListBar1.addPictureItem(1,"bmp","close.bmp")
>
>
>another thing is I can't seem to figure out how to run the image list program where I can add,insert and delete pictures.
>
>thanks
>Nick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform