RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
ActnMan.TCommandStyle Enumeration

TCommandStyle enumerates the possible styles for a command.

Pascal
TCommandStyle = (
  csButton,
  csMenu,
  csSeparator,
  csText,
  csGallery,
  csComboBox,
  csCheckBox,
  csRadioButton,
  csControl,
  csCustom
);
C++
enum TCommandStyle {
  csButton,
  csMenu,
  csSeparator,
  csText,
  csGallery,
  csComboBox,
  csCheckBox,
  csRadioButton,
  csControl,
  csCustom
};

TCommandStyle enumerates the possible styles for a command located on a ribbon group. The following are possible values of TCommandStyle.

Value 
Meaning 
 
csButton  
Command is a button.  
 
csMenu  
Command is a menu.  
 
csSeparator  
Command is a separator with a caption.  
 
csText  
Command is a label. Only displays a static text.  
 
csGallery  
Command is a gallery.  
 
csComboBox  
Command is a combo box.  
 
csCheckBox  
Command is a check box.  
 
csRadioButton  
Command is a radio button.  
 
csControl  
Command has a custom TControl associated with it.  
 
csCustom  
Custom command. Can be extended by user.  
 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!