JVCL Help:TJvCustomMenuItemPainter
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvCustomMenuItemPainter Class
[+] JvMenus.pas Classes
[+] TJvCustomMenuItemPainter Events
[+] TJvCustomMenuItemPainter Methods
[+] TJvCustomMenuItemPainter Properties
Search in JVCL Help
Search in all projectsClass Hierarchy
TJvCustomMenuItemPainter
TJvBtnMenuItemPainter
TJvOfficeMenuItemPainter
TJvOwnerDrawMenuItemPainter
TJvStandardMenuItemPainter
TJvXPMenuItemPainter
run\JvMenus.pas
Summary
This painter is the ancestor of all menu item painters.
Pascal
run\JvMenus.pas
TJvCustomMenuItemPainter = class(TComponent);
Description
Starting with JVCL3, the concept of menu item painters has been introduced. Each JvMainMenu or JvPopupMenu is assigned an internal item painter according to the Style property. It can also use a separate painter by setting the ItemPainter property and setting Style to msItemPainter. When a menu item is about to be painted, the painter is called and does the painting job. Do not instantiate a TJvCustomMenuItemPainter but use one of its descendants.
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