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
- Drop
TTMSFNCWidgetLCDLabelfrom the TMS FNC Dashboard palette page onto a form. - Set
Caption.Valueto the number to display. - Optionally set
Caption.Format(aFormatFloatmask) 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.