JVCL Help:TJvInspectorColorItem.DoDrawListItem@TWinControl@Integer@TRect@TOwnerDrawState

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

Search in JVCL Help

 
Search in all projects
 

Summary

Event handler for the drop down list box.


Pascal

 procedureDoDrawListItem(Control: TWinControl; Index: Integer; Rect: TRect; State: TOwnerDrawState); override;


Description

DoDrawListItem is the OnDrawListItem event handler of the drop down list box. By default, the method will just output the items text to the Canvas. Descendants can override this method to provide owner draw list box drawing, tailored to the data it represents. See the VCL help on TCustomListBox.OnDrawListItem for information on the parameters.


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