JVCL Help:TJvCustomMenuItemPainter.LeftMargin

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 size of the margin to be drawn on the left side of the menu


Pascal

 propertyLeftMargin: Cardinal;


Description

Most derived painters will publish this property, thus allowing you to specify that you want a colored margin to be drawn on the side of your menu items. By default, this is a gradient from clBlue to clBlack but you can provide an event handler for OnDrawLeftMargin and do your own rendering in it.


See Also

TJvCustomMenuItemPainter.OnDrawLeftMargin


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