RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ComCtrls.TToolButtonStyle Enumeration

TToolButtonStyle indicates the type of control a TToolButton object represents.

Pascal
TToolButtonStyle = (
  tbsButton,
  tbsCheck,
  tbsDropDown,
  tbsSeparator,
  tbsDivider,
  tbsTextButton
);
C++
enum TToolButtonStyle {
  tbsButton,
  tbsCheck,
  tbsDropDown,
  tbsSeparator,
  tbsDivider,
  tbsTextButton
};

ComCtrls

These are the possible values of TToolButtonStyle:

Value 
Meaning 
tbsButton  
The button appears and functions like a normal speed button.  
tbsCheck  
Clicking the button toggles the Down property. Once selected, the button remains selected until clicked again.  
tbsDropDown  
The button displays a downward-pointing arrow (suitable for accessing a drop-down menu).  
tbsSeparator  
The button appears as an empty space on the toolbar (used to separate other controls).  
tbsDivider  
The button appears as a vertical line on the toolbar (used to separate other controls).  

 

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