TControl.GainedFocus

Called when a control gains focus

Source

UserInterface.Control.pas (357)

Description

This function is called before LostFocus is called on the control losing focus. Also, TKeyboardFocusManager.FocusedControl is already updated to reflect the new focus.