Table of Contents

Getting Started with TMS FNC Table View

TTMSFNCTableView is a mobile-style scrollable list with built-in support for HTML formatted items, category sections, swipe actions, edit mode, filtering, and pull-to-refresh.

Prerequisites

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

Steps

1. Drop the component

Drop a TTMSFNCTableView from the TMS FNC UI Pack palette page onto a form. It ships pre-populated with sample items — remove them to start fresh.

2. Add items

TMSFNCTableView1.Items.Clear;
TMSFNCTableView1.AddItem('Alice Johnson');
TMSFNCTableView1.AddItem('Bob Smith');
TMSFNCTableView1.AddItem('Carol Lee');

3. Enable categories (optional)

TMSFNCTableView1.CategoryType := tvctAlphaBetic;
TMSFNCTableView1.Sort;

4. React to selection

procedure TForm1.TMSFNCTableView1ItemSelected(
  Sender: TObject; AItem: TTMSFNCTableViewItem);
begin
  ShowMessage(AItem.Text);
end;

5. Enable swipe actions (optional)

var
  mo: TTMSFNCTableViewMoreOption;
begin
  mo := TMSFNCTableView1.MoreOptions.Add;
  mo.Text := 'Delete';
  mo.Color := gcRed;
  mo.FontColor := gcWhite;
end;

Next steps