Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the icon of a treeview node
Message
From
02/11/2004 14:30:53
 
 
To
02/11/2004 12:58:15
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Miscellaneous
Thread ID:
00957159
Message ID:
00957226
Views:
22
>
>Please, I'd like to set the picture's image control with an icon of treeview control (the selected one)..
>
>Does anyone has any code sample on how to do it ?
>
..for who can concern

I found a way through this path.. Maybe is not the best.. But, for now is THE PATH :)

The activex treeview gave me the index.. So, on imagelist I got it and save to the disk..
cExt_file                                   = "c:\prov.bmp"
SAVEPICTURE(thisform.oleimagelist.ListImages(toNode.Image).picture, cExt_file)
ThisForm.Image1.picture                     = cExt_file
Thanks Kevin and All
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Previous
Reply
Map
View

Click here to load this message in the networking platform