Skip to main content
Table of Contents

TTMSFNCMenuItemToolBarControl.CalcSize Method

Returns the preferred size of the toolbar row based on the dimensions of the contained button controls.

API unit family: TMSFNCPopupMenu Declaring type: TTMSFNCMenuItemToolBarControl

Syntax

GeneratedPascalC++
function CalcSize: TSizeF; override;
virtual System::Types::TSizeF __fastcall CalcSize();

Returns

Preferred width and height of the toolbar row as a TSizeF.