JVCL Help:TJvInspectorPainter.PaintItem@TJvCustomInspectorItem
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvInspectorPainter.PaintItem Method (TJvCustomInspectorItem)
[+] TJvInspectorPainter Methods
[+] TJvInspectorPainter Properties
Search in JVCL Help
Search in all projectsSummary
Renders an item.
Pascal
procedurePaintItem(varARect: TRect; constAItemIndex: Integer); virtual; overload;
procedurePaintItem(constAItem: TJvCustomInspectorItem); virtual; overload;
Parameters
Parameters | Description |
var ARect: TRect | Available rectangle for the item. On exit, this parameter will hold the rectangle available after the item was rendered. |
const AItemIndex: Integer | Index into the Inspector.VisibleItems array of the item to be rendered. |
const AItem: TJvCustomInspectorItem | Item instance to be rendered. |
Description
PaintItem handles a request to render an item. The actual rendering will be done by the DoPaint method. PaintItem will setup the paint information before calling DoPaint and cleans up when DoPaint returns.
PaintItem has two overloaded methods. The first method accepts a rectangle and an item index and will paint the specified item inside the rectangle, returning the rectangle not used.
The second method will accept an item instance and will render it at the position it was last rendered in.
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