Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Attatching Bitmap to a Treeview Control
Message
 
To
06/06/1999 01:33:58
Sudhir Arora
Userease Software Pvt. Ltd.
New Delhi, India
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00226892
Message ID:
00226898
Views:
22
> 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform