Information générale
Catégorie:
Contrôles ActiveX en VFP
>Oh, sorry me, Dan, but I have a new doubt about treeview.
>
>I'm trying to add a image to my treeview.
>I've put a imagelist control in my form, and added the images.
>Then, when I'm adding a node, I try to define the image in the fifth parameter of .nodes.add()..., or even oNode.Image = 'image's name'... but when I try this, vfp shows me an error:
>OLE IDdispatch exception code 0 from TreeCtrl: ImageList must be initialized before it can be used.
>
>I'm sure it was iniatialized, 'cause I check this in init of the form.
>
>Can you tell me what's happening?
>
>Thanks in Advance!
I know that we have added images in our tree view without a problem, but we are using DBI Tech's tree view. Try putting a new message out there with this new tree view problem and see if someone can help you.
Précédent
Suivant
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