Show: Delphi C++
Display Preferences

FMX.Controls.TCustomButton.RepeatClick

From XE2 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};

Contents

Properties

Type Visibility Source Unit Parent
property published
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls 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
Previous Versions
Translations