Show: Delphi C++
Display Preferences

FMX.StdCtrls.TCustomButton.RepeatClick

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RepeatClick: Boolean read FRepeat write FRepeat default False;

C++

__property bool RepeatClick = {read=FRepeat, write=FRepeat, default=0};

Properties

Type Visibility Source Unit Parent
property public
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TCustomButton

Description

Specifies whether to automatically repeat the button click after a preset time.

Set the RepeatClick property to True to make the button automatically repeat the clicking event, thus executing its OnClick event cyclically, after a preset time has passed since the last OnClick execution.

The timer interval starts with 500 milliseconds for the first wait and then moves to 100 milliseconds per wait cycle. This interval cannot be modified by the user.

Each time 100 milliseconds pass, DoRepeatDelayTimer is executed. DoRepeatDelayTimer internally calls the DoRepeatTimer method to perform the button's OnClick event.

See Also

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance