FMXTreeView OnAfterSelectNode

I am using a TTMSFMXTreeView and have assigned an OnAfterSelectNode event handler.

When I use the mouse or touch to select a node, the event is fired.

However, when I change selection programmatically using 

TreeView.SelectedNode := node;

the event is not fired. Is this the correct behaviour ? I assume that it is, in which case what is the recommended method of dealing with this scenario ?

Yes, the behaviour is by design. The event is not triggered when programmatically selecting a node. As you already known the node is selected, you can execute the code in the OnAfterSelectNode manually, after calling SelectNode programmatically.