Information générale
Catégorie:
Produits tierce partie
>>Hi All,
>>
>> How can I associate an ImageList with TreeView control?
>>
>>Thanks
>>
>>Stoyka
>
>First you need to place ImageList control to the form before the TreeView.
>If you right click on the TreeView and select TreeCtrl Properties, then select your ImageList object from the ImageList combobox.
>MS screwed up TreeView control (at least for VFP use) since version which has the size 332288, and dated 08/21/96
>If you have those versions, then probably you will see nothing in some or all comboboxes there. In this case put in your TreeView Init method:
>
>this.Object.ImageList = this.parent.oleImageList.Object
>(supposing your ImageList control has name "oleImageList")
>
>
>Nick
Thank you Nick.
>Probably the last way is the best way to do it.
Yes, now it works perfect.
Stoyka
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement