[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Event handler signalled when the control loses focus.
Source position: controls.pp line 2358
public property TWinControl.OnExit : TNotifyEvent |
OnExit is a TNotifyEvent property with the event handler signalled when the control loses focus. It is signalled (when assigned) from the DoExit method, and occurs when a CM_EXIT control message is received and handled for the control.
The Sender argument contains the object instance for the event notification. It must be cast to TControl, TWinControl, or a other descendent to access properties or methods specific to the implementation.
OnExit occurs after the OnEditingDone event handler which is signalled when the content for the control has been modified. Descendent classes generally perform any actions needed to maintain their internal state before OnExit is signalled. The notable exception is TCustomMaskEdit which can be configured to perform validation after the event.
|
Signals the OnExit event handler (when assigned) when the control loses focus. |
|
|
Handles the CM_EXIT control message for the control. |
|
|
Signals the OnEditingDone event handler. |
|
|
Event handler signalled when editing is completed for the control. |
Version 3.2 | Generated 2024-02-25 | Home |