Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Attatching Bitmap to a Treeview Control
Message
 
À
06/06/1999 01:33:58
Sudhir Arora
Userease Software Pvt. Ltd.
New Delhi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00226892
Message ID:
00226898
Vues:
23
> How does one attatch a bitmap to a treeview control ?

> Style Property in Treeview Control , if set to 7 , says Plus/Minus sign, Tree
> Lines , Picture and Text. But one doesn't get space to specify the picture file.

You need to add an image list control to your container (form) and then programmatically attach the imagelist to the imagelist property of the tree like so:
THISFORM.oTree.Object.ImageList = THISFORM.oImageList.Object

Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform