[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The TForm instance which has the focus.
Source position: forms.pp line 1275
public property TScreen.ActiveForm : TForm |
ActiveForm is a read-only TForm property which contains the form instance in the application which has focus on the screen. The property value is updated from methods in TCustomForm like SetFocusedControl and MoveToDefaultPosition. It is also updated from methods in TApplication like ControlDestroyed.
Use ActiveCustomForm to get a form instance derived from TCustomForm, including: THintWindow, TCustomDockForm, and TLazDockForm. These class types are not available in ActiveForm.
|
The control which has the focus on the active form for the screen. |
|
|
The TCustomForm instance which has the focus. |
|
|
Handles a focus change for a control (enter/exit messages). |
|
|
Moves the form to the location specified in the Position property. |
|
|
Clears all references to the destroyed control. |
Version 3.2 | Generated 2024-02-25 | Home |