Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBarCustomButton.RepeatClick Property

Specifies if the bar button repeats clicks until it is released.

#Declaration

Delphi
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