Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Treeview and imagelist
Message
De
14/05/2003 07:28:13
 
 
À
13/05/2003 19:08:20
Jordan Pastourel
Worksafe Management Systems
Toowong, Australie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00787999
Message ID:
00788104
Vues:
21
Hi Jordan.

this.imagelist = this.parent.olecontrol2

This should work just fine. Let me guess: this code is in the Init() of the TreeView and you are getting an error.

If this is the case, it is because the TreeView is getting instantiated before the ImageList. Just move the code to form's Init() (and change it appropriately). In the form's init, you can be sure that both controls have been instantiated.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform