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]);
result := @Command([TextSetFontSize];size);
@If(@IsError(result);Prompt([Ok];"Error encountered";"You must enter a font size first");result)
See Also
TextSetFontFace @Command
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary