Question
How to make a TreeNode focused from code.
I am using phGant with Delphi 2005 (VCL version)
Answer
Do it like this;
phGant.Grid.FocusedCell:=phGant.Grid.Cell[x,y]
If you are not using the grid you do like this:
phGant.TreeView.CurrentDataEntity:=aphDataEntity_Tree;