/*
Assign, Add example
*/
TStrings StringList = new TStringList();
try
{
  StringList->Add("This example uses A string List. ");
  StringList->Add("It is the easiest way to add strings");
  StringList->Add("to a combobox's list of strings. ");
  StringList->Add("Always remember TStrings is abstract,");
  StringList->Add("So create a TStringList instead.");
  ComboBox1->Width = 210;
  ComboBox1->Items->Assign(StringList);
  ComboBox1->ItemIndex = 0;
}
__finally (...)
{
  delete StringList;
}
 
