Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CTreeViewCtrl
Message
De
02/06/2005 13:56:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Divers
Thread ID:
01019236
Message ID:
01019480
Vues:
23
>James :
>
>this work fine for me :
>in the OleTreeView object, when the OleImageList exist in the form.
>
>
>This.Object.ImageList = Thisform.oleImageList.Object
>RETURN .T.
>
I'm using the MereMortals framework which loads the imagelist and treeview controls dynamically at runtime. So, just to eliminate that layer I just created a form and dropped the two controls (imagelist and treeview) on the forms and added that code to the treeview's Init method. I got the same error.

However, when I right-clicked on the treeview control and defined the imagelist in the treeview properties form that comes up and it worked. So now I'm wondering what's the difference, and how do I get the same effect through code?

Aloha,

James
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform