TAdvCustomInspector.GetPopupItemWidth Method
Returns the width of the popup list box to be displayed as a drop down list when a property is being edited.
Syntax
Unit: InspectorControls
function TAdvCustomInspector.GetPopupItemWidth(ListBox: TListBox; TheIndex: Integer): Integer; virtual;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| ListBox | TListBox | The list box control which will be displayed as the popup combo list. |
|
| TheIndex | Integer | The index of the property being edited. |
Returns
The width of the listbox control, in pixels.