JVCL Help:TJvCustomMenuItemPainter

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

Search in JVCL Help

 
Search in all projects
 

Class Hierarchy

TJvCustomMenuItemPainter
TJvBtnMenuItemPainter
TJvOfficeMenuItemPainter
TJvOwnerDrawMenuItemPainter
TJvStandardMenuItemPainter
TJvXPMenuItemPainter
run\JvMenus.pas


Summary

This painter is the ancestor of all menu item painters.

run\JvMenus.pas


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.

run\JvMenus.pas


About

Navigation

run\JvMenus.pas



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