[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Notifies all chtOnEnabledChanging handlers for the control.
Source position: controls.pp line 1550
protected procedure TControl.EnabledChanging; virtual; |
EnabledChanging is called when a new value has been assigned to the Enabled property. It occurs after the new property value is stored to its member, and before a CM_ENABLEDCHANGED control message is posted for the control. It allows all of the TNotifyEvent routines registered for the chtOnEnabledChanging control handler type to be signalled for the new property value.
EnabledChanging calls the DoCallNotifyHandler method to signal each of the handler routines using the chtOnEnabledChanging control handler type. The class instance is used as the Sender argument for the event notification.
Use RemoveHandlerOnEnabledChanging to manage the TNotifyEvent handler routines for the handler type used in the control. AddHandler and RemoveHandler can be used if the control handler type is passed as an argument.
See EnabledChanged for the actions performed after the value in Enabled is updated.
|
Determines whether the control responds to mouse or keyboard input. |
|
|
Notifies all chtOnEnabledChanged handlers for the control. |
|
|
Calls a message handler directly, bypassing the message queue. |
|
|
Signals handler routines for the specified control handler type. |
|
|
Notification handler types. |
|
Version 3.2 | Generated 2024-02-25 | Home |