API:Vcl.ComCtrls.TComboBoxExStrings.Insert
Delphi
procedure Insert(Index: Integer; const S: String); override;
C++
virtual void __fastcall Insert(int Index, const System::UnicodeString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TComboBoxExStrings |
Description
Introduces abstract (Delphi) or pure virtual (C++) method to insert a string at a specified position.
Vcl.ComCtrls.TComboBoxExStrings.Insert inherits from System.Classes.TStrings.Insert. All content below this line refers to System.Classes.TStrings.Insert.
Introduces abstract (Delphi) or pure virtual (C++) method to insert a string at a specified position.
Descendants of TStrings implement an Insert method to add the string S to the list at the position specified by Index. If Index is 0, the string is inserted at the beginning of the list. If Index is 1, the string is put in the second position of the list, and so on.
All methods that add strings to the list use the Insert method to add the string.
If the string has an associated object, use the InsertObject method instead.