Skip to main content
Table of Contents

Getting Started with TMS FNC Checked ListBox

Use TTMSFNCCheckedListBox when users need to choose multiple values from a compact list.

Prerequisites

  • Delphi with TMS FNC UI Pack installed.
  • A new or existing VCL, FMX, or WEB application.

Create a checked list

  1. Drop a TTMSFNCCheckedListBox onto a form.
  2. Add items with AddItem.
  3. Set the initial check state through Checked[index] or the returned item.
  4. Read checked items with CheckedItems.
Populate a checked listPascalC++
procedure TForm1.ConfigureCheckedListBox;
var
  Item: TTMSFNCCheckedListBoxItem;
begin
  TMSFNCCheckedListBox1.AddItem('PDF export').Checked := True;
  TMSFNCCheckedListBox1.AddItem('Email notification');

  Item := TMSFNCCheckedListBox1.AddItem('Archive copy');
  TMSFNCCheckedListBox1.CheckedItem[Item] := True;
end;

void __fastcall TForm1::ConfigureCheckedListBox()
{
  TTMSFNCCheckedListBoxItem *Item;

  TMSFNCCheckedListBox1->AddItem("PDF export")->Checked = true;
  TMSFNCCheckedListBox1->AddItem("Email notification");

  Item = TMSFNCCheckedListBox1->AddItem("Archive copy");
  TMSFNCCheckedListBox1->CheckedItem[Item] = true;
}

Next steps