JVCL Help:TJvCustomListBox.DefaultDrawItem
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvCustomListBox.DefaultDrawItem Method
[+] TJvCustomListBox Events
[+] TJvCustomListBox Methods
[+] TJvCustomListBox Properties
Search in JVCL Help
Search in all projectsSummary
Draws an item in the list box.
Pascal
procedureDefaultDrawItem(Index: Integer; ARect: TRect; State: TOwnerDrawState); virtual;
Parameters
Parameters | Description |
Index: Integer | The index of the item. |
ARect: TRect | The rectangle of the item. |
State: TOwnerDrawState | Indicates the state of the item. |
Description
DefaultDrawItem is called whenever a visual aspect of the list box changes. The list box calls DefaultDrawItem for each visible item in its list, passing the index of the item in the Index parameter. By default, the list box calls any event handler attached to the component's OnDrawItem event. If there is no handler attached, it calls DefaultDrawItem. You can call DefaultDrawItem in your own OnDrawItem event handler.
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