Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView & ImageList control problem
Message
 
À
08/03/2000 07:31:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00343186
Message ID:
00343324
Vues:
23
>Hi all,
>I have MS Visual FoxPro 5.0 (not 5.0a)
>I use in form TreeView Control version 6.0 and ImageList Control version 6.0
>In properties TreeView control I select my ImageList control and click on APPLY and save. When I click again on properties in TreeView control, ImageList property is empty.
>How can I assign ImageList to this TreeView ?
>
>Thanks.

Hi Martin,

Put in your Treeview.Init()

this.Object.ImageList = this.parent.oleImageList.Object

(supposing your ImageList control has name "oleImageList")
I assume that ImageList control was placed on the form before the TreeView - in VFP the ImageList has to be placed on the form before the TreeView or the other ActiveX control which may use it.


Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform