Set focus to TTMSFNCTableView


I set focus programaticaly to an TTMSFNCTableView component.
But I can't change the curent selected item with keyboard.

If I click on the TTMSFNCTableView, selected efect apear and I can change selected item with keyboard, but event OnKeyDown attached to the TTMSFNCTableView is not fired.

How do I set the focus to TTMSFNCTableView so I can use the keyboard to interact with and what event onKeyDown do I have to subscribe to intercept other keys?

Best regards,
Tiberiu Stoicescu


TTMSFNCTableView is actually a Treeview, but it is a wrapper around the treeview. To focus the treeview you can use:


It's Ok!