Getting started with TMS FNC Widget Arrow
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
TTMSFNCWidgetArrowfrom the TMS FNC Dashboard palette page onto a form. - Set
Valueto an angle in the -90..+90 range to point the arrow. - Optionally set
CaptionOptions.Textto label the widget.
The minimal widget — point the arrow at a value and label it:
procedure TForm1.SetupArrow;
begin
FArrow := TTMSFNCWidgetArrow.Create(Self);
FArrow.Parent := Self;
FArrow.SetBounds(20, 20, 220, 180);
// Value is an angle in the -90..+90 range: the arrow tilts from down-left
// (-90) through up (0) to down-right (+90), so higher reads as a better trend.
FArrow.Value := 45;
FArrow.CaptionOptions.Text := 'Overall Progress';
end;
void __fastcall TForm1::SetupArrow()
{
FArrow = new TTMSFNCWidgetArrow(this);
FArrow->Parent = this;
FArrow->SetBounds(20, 20, 220, 180);
// Value is an angle in the -90..+90 range: the arrow tilts from down-left
// (-90) through up (0) to down-right (+90), so higher reads as a better trend.
FArrow->Value = 45;
FArrow->CaptionOptions->Text = "Overall Progress";
}
Next steps
- Guides — showing a trend and styling the color and geometry.
- API reference — full class reference.