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