I have a databound heirarchical treeview that populates a form based on the node selection. However, once the node is selected and the form begins to fill with the appropriate data the focus is lost on the selected node.
How do I reset the focus to the selected node? From what I can see in debug mode, I need to access the row through the ActivePort. Here's my closest attempt so far:
FlyGrid1.ActivePort.Rows.Items(iSelectedIndex).Focused = True
The problem is that although there are 36 rows in the ActivePort.RowCount, the ActivePort.Rows.Items.Count = 4 (the first heirarchical level count). I don't see how to set the focus to the correct row.
Thanks in advance for your help!