Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a reference to LPPICTUREDISP object?
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01128364
Message ID:
01128504
Views:
20
Sergey?
The problem is solved. I just did oImage=LoadPicture(...) then passed the complete oImage object to the control, as is, and it worked...Go figure :-)

Jaime

>Maybe you can use InageList control as with MS Treeview?
>
>>Geeez this control doesn't stop surprising me!!! It's the first time ***ever*** an ActiveX control works with no glitch whatsoever with VFP.
>>By the way, the oImage.Handle generated a type mismatch. Since in the debugger i saw it was expecting an object, i passed the whole oImage instead, and voila...
>>For anyone interested, the ActiveX in question are the ActiveGantt Scheduler and the XTTreeView control from the same package. They can be found at http://www.sourcecodestore.com/
>>
Why do programs stop working correctly as soon as you leave the Fox?
Previous
Reply
Map
View

Click here to load this message in the networking platform