Vcl.ComCtrls.TComboBoxExStrings.Add

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Add(const S: String): Integer; override;

C++

virtual int __fastcall Add(const System::UnicodeString S);

Properties

Type Visibility Source Unit Parent
function public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TComboBoxExStrings

Description

Adds a TComboExItem to the list.

Call Add to add a new item to the extended combo box, specifying its caption. The method will return the new item's index.

Image indexes are set to -1 and no indentation is used. To add an item with image and indentation, use AddItem.

See Also