JVCL Help:TJvXPCustomWinXPBar.OnDrawItem

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

Search in JVCL Help

 
Search in all projects
 

Summary

Occurs when an item needs to be drawn.


Pascal

 TJvXPBarOnDrawItemEvent = procedure (Sender: TObject; ACanvas: TCanvas; Rect: TRect; State: TJvXPDrawState; Item: TJvXPBarItem; Bitmap: TJvBitmap) ofobject;
propertyOnDrawItem: TJvXPBarOnDrawItemEvent;


Parameters

Parameters Description
State The current state of the control.
Item The item being drawn.
Bitmap The item's image as a bitmap.
Sender The control that triggered the event.
ACanvas The canvas to draw on.
Rect The rect area to draw in.


Description

Write a handler for this event to modify the way items are drawn in the control.


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