Vcl.ComCtrls.TComboBoxExStrings.AddObject
Delphi
function AddObject(const S: String; AObject: TObject): Integer; override;
C++
virtual int __fastcall AddObject(const System::UnicodeString S, System::TObject* AObject);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TComboBoxExStrings |
Description
Ajoute un objet TComboExItem à la boîte à options étendues.
Appelez Add pour ajouter un nouvel objet à la boite à options étendues, en spécifiant son libellé et ses données. Cette méthode renvoie l'indice du nouvel élément.