Vcl.RibbonActnCtrls.TTimeBtnState
Delphi
type TTimeBtnState = set of (tbFocusRect, tbAllowTimer);
C++
typedef System::Set<Vcl_Ribbonactnctrls__74, Vcl_Ribbonactnctrls__74::tbFocusRect, Vcl_Ribbonactnctrls__74::tbAllowTimer> TTimeBtnState;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
set typedef |
public | Vcl.RibbonActnCtrls.pas Vcl.RibbonActnCtrls.hpp |
Vcl.RibbonActnCtrls | Vcl.RibbonActnCtrls |
Description
Specifies the TTimerSpeedButton's state.
TTimeBtnState is used for the TimeBtnState property.
TTimeBtnState can take two 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. |