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
- Drop a
TTMSFNCCheckedListBoxonto a form. - Add items with
AddItem. - Set the initial check state through
Checked[index]or the returned item. - Read checked items with
CheckedItems.
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;