Table of Contents

Getting Started with TMS FNC Badge

Use TTMSFNCBadge to attach a small status, count, or alert marker to another control.

Prerequisites

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

Attach a Badge

  1. Drop a TTMSFNCBadge onto a form.
  2. Assign Control to the control the badge should follow.
  3. Set Text, HorizontalPosition, and VerticalPosition.
  4. Call ShowBadge or HideBadge as the state changes.
procedure TForm1.ConfigureBadge;
begin
  TMSFNCBadge1.Control := TMSFNCButton1;
  TMSFNCBadge1.Text := '3';
  TMSFNCBadge1.AutoSize := True;
  TMSFNCBadge1.HorizontalPosition := bhpRight;
  TMSFNCBadge1.VerticalPosition := bvpTop;
  TMSFNCBadge1.ShowBadge;
end;

Next steps