Table of Contents

Getting Started with TMS FNC Combo Box

Use TTMSFNCComboBox when users need to choose from a list, optionally type a value, or use HTML-capable item text.

Create a Combo Box

  1. Drop TTMSFNCComboBox on the form.
  2. Add entries to Items or call AddItem.
  3. Set ItemIndex or Text for the initial value.
  4. Handle OnItemSelected when the form should react to selection.
var
  I: Integer;
begin
  TMSFNCComboBox1.Items.Clear;

  for I := 1 to 10 do
    TMSFNCComboBox1.AddItem('Item ' + I.ToString);

  TMSFNCComboBox1.ItemIndex := 0;
  TMSFNCComboBox1.OnItemSelected := TMSFNCComboBox1ItemSelected;
end;

Next Steps

Task Guide
Add items and handle selection Items and autocomplete
Enable editable text and autocomplete Items and autocomplete