setFontWeight

Sets the font weight of a control.

Parameters

  1. ControlId

  2. FontWeight - one of those: "normal", "bold"

Example Usages

Set to bold

app.setFontWeight("myControl", "bold");

Set to normal

app.setFontWeight("myControl", "normal");
app.setFontWeight("myControl"); //you can skip param2 if you want to set it back to normal

Return Values

Function does not explicitly produce return value.

Last updated