Information générale
Catégorie:
Contrôles ActiveX en VFP
Hi Claudio,
>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 don't remeber off hand if this is the way to do it. Is there a property the Tree Uses to Point to the imsage list? FIll that in, then set the image prop to the index number of the image in the Image List (ie: 1 or 2)
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