JVCL Help:TJvCustomMenuItemPainter.OnDrawLeftMargin

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

Search in JVCL Help

 
Search in all projects
 

Summary

This is the event called when the margin is to be drawn


Pascal

 TJvDrawLeftMarginEvent = procedure (Sender: TMenu; Rect: TRect) ofobject;
propertyOnDrawLeftMargin: TJvDrawLeftMarginEvent;


Description

Most derived painters will publish this property, thus allowing you to provide an event handler for OnDrawLeftMargin and do your own rendering in it. If LeftMargin is equal to 0, the event is never fired.


See Also

TJvCustomMenuItemPainter.LeftMargin


About

Notes

If the system displays text from right to left, the margin is drawn on the right side of the menu.


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