Skip to main content
Table of Contents

Getting Started with TMS FNC Button

Use TTMSFNCButton when a command button needs rich text, bitmap content, or FNC-styled layout across frameworks.

Prerequisites

  • Delphi with TMS FNC UI Pack installed.
  • A new or existing VCL, FMX, or WEB application.

Configure a Button

  1. Drop a TTMSFNCButton onto a form.
  2. Set Text.
  3. Set ShowImage and either Bitmap or BitmapName when the button should include an image.
  4. Handle OnClick for the command.
Configure a command buttonPascalC++
procedure TForm1.ConfigureButton;
begin
  TMSFNCButton1.Text := 'Refresh';
  TMSFNCButton1.OnClick := TMSFNCButton1Click;
end;

procedure TForm1.TMSFNCButton1Click(Sender: TObject);
begin
  ShowMessage('Refresh requested.');
end;

void __fastcall TForm1::ConfigureButton()
{
  TMSFNCButton1->Text = "Refresh";
  TMSFNCButton1->OnClick = TMSFNCButton1Click;
}

void __fastcall TForm1::TMSFNCButton1Click(TObject *Sender)
{
  ShowMessage("Refresh requested.");
}

Next steps