Vcl.ActnCtrls.TCustomButtonControl.CMEnabledChanged
Delphi
procedure CMEnabledChanged(var Message: TMessage); message CM_ENABLEDCHANGED;
C++
HIDESBASE MESSAGE void __fastcall CMEnabledChanged(Winapi::Messages::TMessage &Message);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ActnCtrls.pas Vcl.ActnCtrls.hpp |
Vcl.ActnCtrls | TCustomButtonControl |
Description
Repaints the surface of the custom button control when the control is enabled or disabled.
CMEnabledChanged is called automatically when the custom button control's Enabled property changes. CMEnabledChanged repaints the surface of the custom button control when the control is enabled or disabled.