JVCL Help:TJvMainMenu.Style

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

Search in JVCL Help

 
Search in all projects
 

Summary

The style of the current menu


Pascal

 propertyStyle: TJvMenuStyle;


Description

The style property controls which painter is used to render the menu items. The following styles are supported at the moment:

Value Meaning
msStandard Only the image is drawn along with the text, no special effect
msOwnerDraw The rendering is done by the owner of the component (you)
msBtnLowered The item is drawn as a lowered button
msBtnRaised The item is drawn as a raised button
msOffice The item is drawn as in MS Office 97, with raising frames around the images
msXP The item is drawn as in Windows XP, white background, shadow below selected images, flat menu borders
msItemPainter The ItemPainter property indicates the painter to use. ItemPainter should never be nil when this style is used.


See Also

TJvMainMenu.ItemPainter, TJvMenuStyle


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