Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX Image Control change of images in the instance
Message
From
23/01/2002 10:51:19
 
 
To
23/01/2002 09:30:39
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00608780
Message ID:
00609028
Views:
20
You could create the imagelist as a seperate class. In the init of the form assign a new instance of the imagelist subclass to a form property.

THIS.ImageList = NEWOBJECT('MyImages','ImageListLib')

Then you can assign it to the tree.
THIS.TreeView.ImageList = THIS.ImageList.Object




Dan,
Yep, you are right - this is one of the workarounds of the ugly containter-with-ActiveX class subclassing issues.

Kind Regards
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Previous
Reply
Map
View

Click here to load this message in the networking platform