deceptionx
asked on
treeview naviagtion
im trying to make a program that allows you to navigate throuh by clicking a node on a treeview. I just need an example code of clicking a node and giving it an event.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
jsut give me a simple way to click an item in a treeview and give it an event. its as simple as that.
>simple use the onChange-Event of the TTreeView
;-)
;-)
could you just explain me your logic, as if what you want to do using the TTreeView component ?
do u want to assign an event to the TTreeView component or its TreeNodes or the individual TreeNode!
ASKER
yes thats it, and could you possably give me an of the coding of for the OnChange-Event...
ASKER
example of the coding << what i meant to say...
a sample
procedure TForm1.TreeView1Change(Sen der: TObject; Node: TTreeNode);
begin
//do your action here based on the Node parameter
showmessage('It was Navigated to '+Node.Text);
end;
meikl ;-)
procedure TForm1.TreeView1Change(Sen
begin
//do your action here based on the Node parameter
showmessage('It was Navigated to '+Node.Text);
end;
meikl ;-)
i think 'kretzschmar' above sample example should be of help to you!
ASKER
I am using delphi 7 that procedure doesnt work... :-/
deceptionx:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
your question is still not clear to me!
could you explain it in detail please ?