Getting Started with TMS FNC Label Edit
Prerequisites
- Delphi with TMS FNC UI Pack installed.
- A new or existing VCL, FMX, or WEB application.
Steps
- Drop a
TTMSFNCLabelEdit onto a form.
- Set
Text to the displayed label value.
- Keep
Editable enabled when users may edit the value in place.
- Set
EditMode to True when code should start editing.
- Handle
OnAccept, OnCancel, OnEditStart, and OnEditEnd when the form needs to react to the edit lifecycle.

Configure an editable labelPascalC++procedure TForm1.ConfigureLabelEdit;
begin
TMSFNCLabelEdit1.Text := 'Project name';
TMSFNCLabelEdit1.Editable := True;
TMSFNCLabelEdit1.HorizontalTextAlign := gtaLeading;
end;
procedure TForm1.StartLabelEdit;
begin
TMSFNCLabelEdit1.EditMode := True;
end;
void __fastcall TForm1::ConfigureLabelEdit()
{
TMSFNCLabelEdit1->Text = "Project name";
TMSFNCLabelEdit1->Editable = true;
TMSFNCLabelEdit1->HorizontalTextAlign = gtaLeading;
}
void __fastcall TForm1::StartLabelEdit()
{
TMSFNCLabelEdit1->EditMode = true;
}
Next steps