Vcl.ComCtrls.TTBCustomDrawFlags
Delphi
TTBCustomDrawFlags = set of TTBCustomDrawFlag;
C++
typedef System::Set<TTBCustomDrawFlag, TTBCustomDrawFlag::tbNoEdges, TTBCustomDrawFlag::tbNoEtchedEffect> TTBCustomDrawFlags;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
set typedef |
public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | Vcl.ComCtrls |
Description
TTBCustomDrawFlags is the type of a parameter in the Vcl.ComCtrls.TToolBar.OnAdvancedCustomDrawButton event handler.
TTBCustomDrawFlags influences the subsequent painting of a tool button following an OnAdvancedCustomDrawButton event in the cdPrePaint stage:
| Value | Meaning |
|---|---|
|
tbNoEdges |
The button is drawn without edges to distinguish it from the tool bar. |
|
tbHiliteHotTrack |
Enables the change in background color when the button is hot tracked. If this is not included in the set, the background color does not change for hot tracking. |
|
tbNoOffset |
The button is not offset when in the "down" position. |
|
tbNoMark |
Disables the default change in background color on buttons with the Marked property set to True. |
|
tbNoEtchedEffect |
Disables the etched effect that appears by default on disabled tool buttons. |