JVCL Help:TItemImageEvent
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TItemImageEvent type
[+] JvMenus.pas Types
Search in JVCL Help
Search in all projectsSummary
This event is triggered whenever a painter needs to know the image index for a menu item about to being paint.
Pascal
run\JvMenus.pas
TItemImageEvent = procedure (Sender: TMenu; Item: TMenuItem; State: TMenuOwnerDrawState; var ImageIndex: Integer) ofobject;
Parameters
Parameters | Description |
Sender | The menu to which the item belongs |
Item | The item to be modified |
State | The state of the item |
ImageIndex | The image index, you can modify this value |
Description
This event will be triggered if the Images property is set. If you supply a handler, then you can change the image index you set during design time. If you don't, the image index set during design time will be used
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