FORMULA LANGUAGE
Examples: TextSetFontFace
1. This formula sets the font to Courier.
@Command([TextSetFontFace]; "Courier")
2. This formula, when added to the "Apply font" hotspot button, applies the font a user selects from the "fonts" Dialog list field (which derives its list of fonts by choosing to Use formula for choices and entering @FontList as the formula) to the text the user enters or highlights in the "Body" Rich Text field. If no font was selected from the dialog list, an error message displays which tells the user to select one.
@Command([EditGoToField]);"Body");
@Command([EditSelectAll]);
@IfError(@Command([TextSetFontFace];fonts);@Prompt([Ok];"Error encountered";"You must select a font first"))
See Also
TextSetFontFace @Command
Glossary
Help on Help
Open Full Help Window
Glossary
Help on Help
Open Full Help Window