TdxCustomRibbonForm.GetCaptionHeightDelta(Boolean) Method
Returns the height adjustment of form’s title bar.
Declaration
function GetCaptionHeightDelta(AHasQuickAccessToolbar: Boolean): Integer; virtual;
Parameters
Name | Type | Description |
---|---|---|
AHasQuickAccessToolbar | Boolean | Pass True if the Ribbon Quick Access Toolbar is above the Ribbon control; otherwise, pass False. |
Returns
Type | Description |
---|---|
Integer | The title bar’s height adjustment, in pixels. |
Remarks
Override this function in a TdxCustomRibbonForm class descendant and return a positive or negative value to increase or decrease the title bar’s height, respectively.
Refer to the following topic for an example: How to Change the Height of the Ribbon Form’s Title in Code.
See Also