Saves the last focus state (focused control) in an application.
Source position: forms.pp line 1952
function SaveFocusState: TFocusState; |
Last control which had focus in the application.
SaveFocusState returns the value from the LastFocusedControl variable in the implementation for the unit. The type used for the return value is TFocusState, and is a Pointer to the TWinControl instance in LastFocusedControl.
SaveFocusState is used, along with RestoreFocusState, in form and dialog methods (like SetFocusedControl, ShowModal, and Execute) and when the value in FocusedForm is updated in TScreen.
|
Restores the previous focus state for an application to the specified value. |
|
|
Displays the form as a modal dialog. |
|
|
Handles a focus change for a control (enter/exit messages). |
|
|
The form that has Focus on the screen. |
|
|
Pointer to focus state information for the last active control in an application. |
|
|
CT Web help |
CodeTyphon Studio |