FMX.StdCtrls.TExpanderButton.RepeatClick

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property RepeatClick: Boolean read FRepeat write FRepeat default 0;

C++

__property RepeatClick = {default=0};

Properties

Type Visibility Source Unit Parent
property published
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TExpanderButton

Description

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

FMX.StdCtrls.TExpanderButton.RepeatClick inherits from FMX.StdCtrls.TCustomButton.RepeatClick. All content below this line refers to FMX.StdCtrls.TCustomButton.RepeatClick.

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