Vcl.RibbonActnCtrls.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.RibbonActnCtrls.pas
Vcl.RibbonActnCtrls.hpp
Vcl.RibbonActnCtrls TTimerSpeedButton

Description

Displays the timer button's state.

TimeBtnState can take 2 values:

Value Meaning

tbFocusRect

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

tbAllowTimer

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