Table of Contents

Getting started with TMS FNC Widget LCD Label

Prerequisites

  • TMS FNC Core installed and the runtime package added to the project.
  • TMS FNC Dashboard Pack design-time package registered in the IDE.

Add the control

  1. Drop TTMSFNCWidgetLCDLabel from the TMS FNC Dashboard palette page onto a form.
  2. Set Caption.Value to the number to display.
  3. Optionally set Caption.Format (a FormatFloat mask) to control the digits.

The minimal readout — a value and its format mask:

procedure TForm1.SetupLcd;
begin
  FLcd := TTMSFNCWidgetLCDLabel.Create(Self);
  FLcd.Parent := Self;
  FLcd.SetBounds(20, 20, 240, 100);

  FLcd.Caption.Value := -20.45;    // the number shown on the seven-segment display
  FLcd.Caption.Format := '000.00'; // FormatFloat mask (the default)
end;

Next steps

  • Guides — showing a value (and a clock) and styling the panel and segments.
  • API reference — full class reference.