TdxBarCustomButton.RepeatClick Property
Specifies if the bar button repeats clicks until it is released.
Declaration
property RepeatClick: Boolean read; write; default False;
Property Value
Type | Default |
---|---|
Boolean | False |
Remarks
If this property is set to True, the bar button repeatedly raises the OnClick event while an end-user presses and holds down the left mouse over it. Otherwise, the OnClick event is raised only once.
The time intervals between repeatedly fired OnClick events are determined by the following global constants declared in the cxLibraryConsts unit:
Name | Time Interval (in milliseconds) | Description |
---|---|---|
cxButtonsRepeatInitPause | 400 | Specifies the time interval between a bar button click and a second raising of the OnClick event. |
cxButtonsRepeatPause | 100 | Specifies the time interval between the second and subsequent firings of the OnClick event. |
The default value of the RepeatClick property is False.
See Also