Table of Contents

TAdvCustomInspector.DrawPopupItem Method

Performs drawing of an item of the list box to be displayed as a drop down list when a property is being edited.

Syntax

Unit: InspectorControls

procedure TAdvCustomInspector.DrawPopupItem(ListBox: TListBox; ListItemIndex: Integer; R: TRect; TheIndex: Integer); virtual;

Parameters

<-> Parameter Type Description
ListBox TListBox The list box control which will be displayed as the popup combo list.
ListItemIndex Integer The index of the list box item to be drawn.
R TRect The rectangle that specifies the list itemboundaries
TheIndex Integer The index of the property being edited.

See also