Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX Image Control change of images in the instance
Message
De
23/01/2002 10:51:19
 
 
À
23/01/2002 09:30:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00608780
Message ID:
00609028
Vues:
16
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!

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform