Skip to main content
Table of Contents

Getting started with TMS FNC Widget Progress

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 TTMSFNCWidgetProgress from the TMS FNC Dashboard palette page onto a form.
  2. Set Value to a percentage in the 0..100 range.
  3. Optionally set ValueFormat and CaptionOptions.Text to format the readout and label the widget.

The minimal widget — value, center-text format, and a caption:

Show a progress valuePascalC++
procedure TForm1.SetupProgress;
begin
  FProgress := TTMSFNCWidgetProgress.Create(Self);
  FProgress.Parent := Self;
  FProgress.SetBounds(20, 20, 160, 160);

  FProgress.Value := 65;             // percentage in the 0..100 range
  FProgress.ValueFormat := '%.0f%%'; // render the center text as "65%"
  FProgress.CaptionOptions.Text := 'Server Dallas';
end;
void __fastcall TForm1::SetupProgress()
{
  FProgress = new TTMSFNCWidgetProgress(this);
  FProgress->Parent = this;
  FProgress->SetBounds(20, 20, 160, 160);

  FProgress->Value = 65;             // percentage in the 0..100 range
  FProgress->ValueFormat = "%.0f%%"; // render the center text as "65%"
  FProgress->CaptionOptions->Text = "Server Dallas";
}

Next steps

  • Guides — showing progress and styling the arc, indicator, and tickmarks.
  • API reference — full class reference.