setFontStyle
Sets the font style of a control.
Parameters
controlId
fontStyle - use one of these: "italic", "normal"
Example Usages
Set to italic
app.setFontStyle("myControl", "italic");
Set to normal
app.setFontStyle("myControl", "normal");
app.setFontStyle("myControl"); // you can skip param2 if you want to set back to normal
Return Values
Function does not explicitly produce return value.
Last updated
Was this helpful?