JVCL Help:TJvCustomInspectorItem.DoMeasureListItemWidth
From Project JEDI Wiki
Jump to navigationJump to searchJVCL Help: TJvCustomInspectorItem.DoMeasureListItemWidth Method
[+] TJvCustomInspectorItem Events
[+] TJvCustomInspectorItem Methods
[+] TJvCustomInspectorItem Properties
Search in JVCL Help
Search in all projectsSummary
Determines the drop down items drawing width.
Pascal
procedureDoMeasureListItemWidth(Control: TWinControl; Index: Integer; varWidth: Integer); virtual;
Parameters
Parameters | Description |
Control: TWinControl | The control in which the item is to be drawn. Use the specified controls Canvas to base the calculations on. |
Index: Integer | Index of the list item to calculate the width for. |
var Width: Integer | The width of the specified item. On entry this parameter is set to the TextWidth of the items text. |
Description
DoMeasureListItemWidth determines the width of the drop down item. On entry to this method, the Width parameter is set to the TextWidth of the items text. By default, DoMeasureListItemWidth does not change the initial item width. Descendants can override this method to provide additional width calculations.
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