JVCL Help:TJvOfficeMenuItemPainter.Paint@TMenuItem@TRect@TMenuOwnerDrawState

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

Search in JVCL Help

 
Search in all projects
 

Summary

Does the painting of the given item


Pascal

 procedurePaint(Item: TMenuItem; ItemRect: TRect; State: TMenuOwnerDrawState); override;


Parameters

Parameters Description
Item: TMenuItem The item to paint
ItemRect: TRect The rectangle in which the item is to be drawn. Drawing outside the rectangle isn't forbidden but every drawing done outside isn't considered to be part of the item and will get discarded sooner or later.
State: TMenuOwnerDrawState The state of the item (selected, active...)


Description

This is the method you want to override along with Measure to create a new rendering style


See Also

TJvCustomMenuItemPainter.Measure


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