Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS TreeView Version 5
Message
 
À
28/08/1997 11:39:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00047347
Message ID:
00047463
Vues:
36
>I'm using MS TreeView ActiveX control version 5 for my Vfp 5 application, every basic thing works fine except I can't show image of the Nodes object of TreeView Control.
>
>I'm using MS ImageList AxtiveX Control to keep all my .Bmp and icons, accroding to the TreeView help documentation, in order to show image in the TreeView control, first must associate a ImageList Control to the TreeView ImageList property.
>
>However, I can't associate a ImageList Control to The ImageList property even in run-time or design time, why ?

MS screwed up TreeView control (at least for VFP use) since version which has the size 332288, date 08/21/96

Put in your TreeView Init method

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

(supposing your ImageList control has name "oleImageList")

HTH,

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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform