Skip to main content

TcxCustomButton.RepeatClick Property

Specifies if the 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 button repeatedly raises the OnClick event while an end-user presses and holds down the left mouse button 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 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