Disables calling the Click method without changing the Enabled state for the control.
Source position: stdctrls.pp line 1192
protected property TButtonControl.ClicksDisabled : Boolean |
ClicksDisabled is a Boolean property which controls whether the Click method is called when a the Checked property is changed in the control. It is a protected property accessible in the TButtonControl and TButtonActionLink classes.
The TCustomCheckBox descendant uses ClicksDisabled in its DoClickOnChange method; when set to False, the Click method is called to signal both the OnChange and OnClick handlers for the control. When set to True, only the OnChange event handler is signalled.
ClicksDisabled is also used to prevent calling Click when the Checked property in a linked button action is updated. This prevents duplicate OnChange / OnClick calls when Checked is updated in the control.
|
Implements the Click behavior for the control. |
|
|
Performs actions needed when the control is clicked. |
|
|
Signals the OnEditingDone and OnChange event handlers (when assigned). |
|
|
Sets the value in the Checked property for the linked button. |
|
|
CT Web help |
CodeTyphon Studio |