Table of Contents

Getting Started with TMS FNC Check Group

Use TTMSFNCCheckGroup when a form needs a compact group of independent choices and a single integer mask that represents the selected items.

Create a Check Group

  1. Drop TTMSFNCCheckGroup on the form.
  2. Add labels to Items.
  3. Set Value when the group needs an initial selection.
  4. Handle OnCheckBoxClick when the form should react as soon as a user changes a choice.
TMSFNCCheckGroup1.Items.Clear;
TMSFNCCheckGroup1.Items.Add('Email');
TMSFNCCheckGroup1.Items.Add('<b>SMS</b>');
TMSFNCCheckGroup1.Items.Add('In-app message');
TMSFNCCheckGroup1.Value := 3;
TMSFNCCheckGroup1.OnCheckBoxClick := TMSFNCCheckGroup1CheckBoxClick;

Add a Drop-Down Selector

Use TTMSFNCCheckGroupPicker when the same multi-select behavior should live inside a picker field.

TMSFNCCheckGroupPicker1.Items.Clear;
TMSFNCCheckGroupPicker1.Items.Add('Create');
TMSFNCCheckGroupPicker1.Items.Add('Update');
TMSFNCCheckGroupPicker1.Items.Add('Delete');
TMSFNCCheckGroupPicker1.Value := 1;
TMSFNCCheckGroupPicker1.Separator := ', ';
TMSFNCCheckGroupPicker1.DropDownWidth := 220;
TMSFNCCheckGroupPicker1.DropDownHeight := 180;
TMSFNCCheckGroupPicker1.CloseOnSelection := False;

Next Steps

Task Guide
Configure item text, the selection mask, and click handling Items and selection
Show the same choices in a drop-down picker Items and selection