TcxCustomGroupBox.OnMeasureCaptionHeight Event
Allows you to customize the group box header’s size.
Declaration
property OnMeasureCaptionHeight: TcxGroupBoxMeasureCaptionHeightEvent read; write;
Remarks
The OnMeasureCaptionHeight event fires when the display information on the group box’s header is being calculated.
Sender specifies the group box whose header is to be drawn.
APainter specifies the painter that draws the group box.
ACaptionHeight specifies the group box caption’s size.
Important
the OnCustomDrawCaption, OnCustomDrawContentBackground and OnMeasureCaptionHeight events were designed to be used with the skins. Since skinning was developed for platforms starting from Delphi 7 and Developer Studio 2006, these events can only be used in these environments.
See Also