[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Implements the Click behavior for the control.
Source position: stdctrls.pp line 1341
protected procedure TCustomCheckBox.DoClickOnChange; virtual; |
DoClickOnChange is a procedure used to signal event handler(s) when the LC_CHANGED message is handled for the control. DoClickOnChange calls the Changed method to dispatch the control message. DoClickOnChange uses the value in ClicksDisabled to determine the event handler(s) signalled in the method.
When ClicksDisabled is False, the inherited Click method is called. When set to True, the DoOnChange method is called to signal the OnEditingDone and OnChange event handlers. This emulates the OnClick behavior in the Delphi VCL.
DoClickOnChange is called from the DoChange method after the value in State has been updated. It is also called when a new value is assigned to the Checked property.
|
The check, unchecked, or grayed state for the control. |
|
|
Disables clicking on the button, without showing the button in a disabled state. |
|
|
Performs actions needed when a click message is handled for the control. |
|
|
Indicates the checked state for the control. |
|
|
Signals the OnEditingDone and OnChange event handlers (when assigned). |
|
|
Event handler for changes to properties in the control. |
|
|
Performs actions needed when the value for the control has been changed. |
|
|
Invokes the OnEditingDone event handler. |
|
|
Event handler signalled when editing is done. |
lazarus-ccr.sourceforge.net |