Getting started with TMS FNC WX Math Editor
Prerequisites
- TMS FNC Core installed and the runtime package added to the project.
- TMS FNC WX Pack installed.
Add the component
- Drop
TTMSFNCWXMathEditorfrom the component palette onto a form. - Set
InsertionModeto control how the cursor inserts symbols. - Call
GetMathand assignOnGetMathto receive the expression in the format set byMathFormat(useOnChangeorOnInputto follow edits live).
Retrieve the expression
{ In an OnGetMath event handler: }
procedure TForm1.MathEditor1GetMath(Sender: TObject;
AResultString: string; AResultFormat: TTMSFNCWXMathFormat);
begin
ShowMessage(AResultString);
end;
// In an OnGetMath event handler:
void __fastcall TForm1::MathEditor1GetMath(TObject *Sender,
System::UnicodeString AResultString, TTMSFNCWXMathFormat AResultFormat)
{
ShowMessage(AResultString);
}
Next steps
- Guides — virtual keyboard layouts, themes, selection modes, and speech input.
- API reference — full class reference.