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
- Drop
TTMSFNCWidgetProgressfrom the TMS FNC Dashboard palette page onto a form. - Set
Valueto a percentage in the 0..100 range. - Optionally set
ValueFormatandCaptionOptions.Textto format the readout and label the widget.
The minimal widget — value, center-text format, and a caption:
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.