Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tree view menu
Message
From
17/03/2004 14:41:15
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Tree view menu
Miscellaneous
Thread ID:
00887215
Message ID:
00887215
Views:
70
Hi all, i'm trying to do a menu using treeview control to show users options and preserve the last option used next time they start the app. I put a treeview control on a form and this in the init event of it:

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.

i need to save last option used in a local table and show this option next time user log in the app. Also i need to show images for each option, Some ideas?

Thanks ....
john harold
John Harold Belalcázar Lozano
Associate Director Of Development
http://www.belvicto.co/
jhbelalc@gmail.com
Next
Reply
Map
View

Click here to load this message in the networking platform