[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

SaveFocusState

Returns the last focused control (focus state) in an application.

Declaration

Source position: forms.pp line 1842

function SaveFocusState: TFocusState;

Function result

Last control which had focus in the application.

Description

Returns the value from the LastFocusedControl variable in the implementation for the unit. The type used for the return value is TFocusState.

See also

RestoreFocusState

  

Restores the last focused control in an application to specified value.