Vcl.Samples.Spin.TTimeBtnState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TTimeBtnState = set of (tbFocusRect, tbAllowTimer);

C++

typedef System::Set<Vcl_Samples_Spin__3, Vcl_Samples_Spin__3::tbFocusRect, Vcl_Samples_Spin__3::tbAllowTimer> TTimeBtnState;

Properties

Type Visibility Source Unit Parent
set
typedef
public
Vcl.Samples.Spin.pas
Vcl.Samples.Spin.hpp
Vcl.Samples.Spin Vcl.Samples.Spin

Description

Specifies the TTimerSpeedButton timer state.

TTimeBtnState is used for the TimeBtnState property.

TTimeBtnState can take two values:

Value Meaning

tbFocusRect

Does not allow TTimerSpeedButton to start the timer but allows the Paint method to draw a rectangle on the button to indicate that it is focused.

tbAllowTimer

Allows TTimerSpeedButton to start the timer when the button is pressed.

See Also