Vcl.Samples.Spin.TTimerSpeedButton.TimeBtnState

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property TimeBtnState: TTimeBtnState read FTimeBtnState write FTimeBtnState;

C++

__property TTimeBtnState TimeBtnState = {read=FTimeBtnState, write=FTimeBtnState, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Samples.Spin.pas
Vcl.Samples.Spin.hpp
Vcl.Samples.Spin TTimerSpeedButton

Description

Displays the timer button's state.

TimeBtnState can take 2 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