JVCL Help:TJvCustomMenuItemPainter.Measure

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Calculates the desired width and height for the given menu item


Pascal

 procedureMeasure(Item: TMenuItem; varWidth: Integer; varHeight: Integer); virtual;


Parameters

Parameters Description
Item: TMenuItem The item for which to calculate the dimensions
var Width: Integer On return, must contain the width of the item
var Height: Integer On return, must contain the height of the item


Description

You have to override this method along with Paint to render a new style


See Also

TJvCustomMenuItemPainter.Paint


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page