Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tree view menu
Message
From
18/03/2004 04:10:27
 
 
To
17/03/2004 14:41:15
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00887215
Message ID:
00887426
Views:
8
Hi,

>>
LOCAL o, oNode
o= thisform.oletree
oNode=o.Nodes.Add(,1,"1_", "Compraventa",0)
oNode.Image="manos"
o.Nodes.Add(,1,"2_", "Utilidades",0)
o.Nodes.Add(,1,"3_", "Ayuda",0)
o.Nodes.Add("1_", 4, "4_", "Contratos",0)
image "manos" is on imalistcontrol on same form, but this oNode.image="manos" shows an error.
>>
Are you confusing the imagelist with the required image. Try:
ThisForm.oleTree.ImageList = ThisForm.Manos
oNode.Image = "imagelistkey"
HTH,
Viv
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform