API:Vcl.Ribbon.TRibbon
Delphi
TRibbon = class(TCustomRibbon)
C++
class PASCALIMPLEMENTATION TRibbon : public TCustomRibbon
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.Ribbon.pas Vcl.Ribbon.hpp |
Vcl.Ribbon | Vcl.Ribbon |
Description
Base class for all ribbon controls.
Vcl.Ribbon.TRibbon inherits from Vcl.Ribbon.TCustomRibbon. All content below this line refers to Vcl.Ribbon.TCustomRibbon.
Base class for all ribbon controls.
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 |
---|---|
cRibbonHideWidth |
Parent width at which the Ribbon must automatically hide. |
cRibbonHideHeight |
Parent height at which the Ribbon must automatically hide. |
cRibbonQuickAccessToolbarTop |
Top position of the Quick Access Toolbar. |
cRibbonQuickAccessToolbarLeft |
Left position of the Quick Access Toolbar. |
cRibbonHeight |
Default height of the ribbon. |
cRibbonQATHeight |
Height of the bottom aligned Quick Access Toolbar. |
cRibbonUnthemedCaptionHeight |
Height of the caption section of the ribbon. |
cRibbonFirstTabOffSet |
Position of the first tab that is displayed. |
cRibbonTabSpacing |
Amount of spacing between tabs. |
cRibbonTabHeight |
Height of the tabs. |
cRibbonMinimizedHeight |
Minimized height of the ribbon. |
The following messages are used:
Value | Meaning |
---|---|
UM_DISPLAYKEYTIPS |
Message sent to display the KeyTips. |
UM_CHECKSIZE |
Message sent after a WMWindowPosChanged message. |