Vcl.Ribbon.TRibbonMetric
Delphi
TRibbonMetric = (rmCaption, rmHeight, rmFullHeight, rmMinHeight, rmTabTop,
rmPageHeight, rmGroupHeight, rmGroupCaptionHeight, rmQATWidth, rmSystemButtonHeight,
rmSystemButtonWidth, rmTabHeight, rmFontSize, rmFormBorder);
C++
enum DECLSPEC_DENUM TRibbonMetric : unsigned char { rmCaption, rmHeight, rmFullHeight, rmMinHeight, rmTabTop, rmPageHeight, rmGroupHeight, rmGroupCaptionHeight, rmQATWidth, rmSystemButtonHeight, rmSystemButtonWidth, rmTabHeight, rmFontSize, rmFormBorder };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.Ribbon.pas Vcl.Ribbon.hpp |
Vcl.Ribbon | Vcl.Ribbon |
Description
Metric enumeration for ribbon controls.
Depending on the value used, a corresponding metric is returned by GetRibbonMetric. Each value represents a metric:
Value | Meaning |
---|---|
|
The caption's height |
|
The control's height |
|
The height of the ribbon plus the height of the caption |
|
The height of the minimized ribbon plus the height of the caption |
|
The height of the top of a tab |
|
The height of a page |
|
The height of a group |
|
The caption height of a group |
|
The Width of the Quick Action Toolbar |
|
The height of the System Button |
|
The height of a tab |
|
The size of the caption font |
|
The border of the form |
See Also