[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Event handler signalled when the control receives focus.
Source position: controls.pp line 2357
public property TWinControl.OnEnter : TNotifyEvent |
OnEnter is a TNotifyEvent property with the event handler signalled when the control receives focus. It is signaled from the DoEnter method, and occurs when the CM_ENTER control message is received and handled for the control.
The Sender argument contains the object for the event notification, and must be cast to TControl, TWinControl, or other descendent class to access properties or methods specific to the implementation.
Use OnExit to perform actions needed when the control loses focus.
|
Signals the OnEnter event handler (when assigned) when the control receives focus. |
|
|
Handles the CM_ENTER control message for the control. |
|
|
Event handler signalled when the control loses focus. |
Version 3.2 | Generated 2024-02-25 | Home |