RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRibbon Class

Base class for all ribbon controls.

Pascal
TCustomRibbon = class(TCustomControl);
C++
class TCustomRibbon : public TCustomControl;

TCustomRibbon is the base class for all ribbon controls. A ribbon can hold controls, such as application menus, Quick Access Toolbars, and pages holding controls. 

The following constants control ribbon appearance:

Value 
Meaning 
Parent width at which the Ribbon must automatically hide.  
Parent height at which the Ribbon must automatically hide.  
Top position of the Quick Access Toolbar.  
Left position of the Quick Access Toolbar.  
Default height of the ribbon.  
Height of the bottom aligned Quick Access Toolbar.  
Height of the caption section of the ribbon.  
Position of the first tab that is displayed.  
Amount of spacing between tabs.  
Height of the tabs.  
Minimized height of the ribbon.  

The following messages are used:

Value 
Meaning 
Message sent to display the KeyTips.  
Message sent after a WMWindowPosChanged message.  

 

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