I have a Firemonkey form containing 2 frames, with each of those frames containing a wide assortment of controls. I need for the form to be able to determine which of the 2 frames currently has the "focus".

I have a Firemonkey form containing 2 frames, with each of those frames containing a wide assortment of controls.  I need for the form to be able to determine which of the 2 frames currently has the "focus".

Although the docs say that TFrame has an OnActivate event, that doesn't appear to be true.  Is there a way I'm overlooking to determine which frame has the focus (or one of its controls) w/o having to trace through every child / descendant control in the frame?

Comments