RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TTBCustomDrawFlags Type

TTBCustomDrawFlags is the type of the OnAdvancedCustomDrawButton event handler.

Pascal
TTBCustomDrawFlags = set of (tbNoEdges, tbHiliteHotTrack, tbNoOffset, tbNoMark, tbNoEtchedEffect);
C++
(tbNoEdges, tbHiliteHotTrack, tbNoOffset, tbNoMark, tbNoEtchedEffect) TTBCustomDrawFlags;

ComCtrls

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 Truetrue.  
tbNoEtchedEffect  
Disables the etched effect that appears by default on disabled tool buttons.  

 

TToolBar

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!