Unit 'Forms' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

RestoreFocusState

Restores the previous focus state for an application to the specified value.

Declaration

Source position: forms.pp line 1953

procedure RestoreFocusState(

  FocusState: TFocusState

);

Arguments

FocusState

  

Control set as the focused control in the routine.

See also

SaveFocusState

  

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

TCustomForm.ShowModal

  

Displays the form as a modal dialog.

TCustomForm.SetFocusedControl

  

Handles a focus change for a control (enter/exit messages).



CT Web help

CodeTyphon Studio