JVCL Help:TJvTimeLine.OnDrawItem
JVCL Help: TJvTimeLine.OnDrawItem Event
Search in JVCL Help
Search in all projectsSummary
Occurs when an item in an owner-draw timeline view needs to be redisplayed.
Pascal
propertyOnDrawItem: TJvDrawTimeItemEvent;
Parameters
Parameters | Description |
Sender | The timeline view control in which an item is about to be drawn. |
Canvas | Provides a drawing surface on which to draw the menu item. |
Item | Specifies the item that needs to be redisplayed. |
R | Indicates the boundaries (in pixels) of the item on that canvas. |
Description
Use OnDrawItem to write a handler for drawing of the items in timeline views with the Style values lbOwnerDrawFixed or lbOwnerDrawVariable. OnDrawItem occurs when the timeline view needs to display an item. OnDrawItem occurs only for owner-draw timeline views. The size of the rectangle that contains the item is determined either by the ItemHeight property or fixed owner-draw timeline views or by the response to the OnMeasureItem event for variable owner-draw timeline views.
See Also
TJvCustomTimeLine.ItemHeight, TJvCustomTimeLine.OnMeasureItem, TJvCustomTimeLine.Style
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