Unit 'ComboEx' Package
[Overview][Types][Classes][Procedures and functions][Index] [#lcl]

TCustomComboBoxEx.Insert

Inserts a new item with the specified values at the given position.

Declaration

Source position: comboex.pas line 174

public procedure TCustomComboBoxEx.Insert(

  AIndex: Integer;

  const ACaption: string;

  AIndent: Integer = - 1;

  AImgIdx: Integer = - 1;

  AOverlayImgIdx: Integer = - 1;

  ASelectedImgIdx: Integer = - 1

);

Arguments

AIndex

  

Ordinal position where the new item is stored.

ACaption

  

Caption for the new combo-box item.

AIndent

  

Indent spacing for the new combo-box item.

AImgIdx

  

Image index for the new combo-box item.

AOverlayImgIdx

  

Overlay image index for the new combo-box item.

ASelectedImgIdx

  

Selected image index for the new combo-box item.