setFontStyle

Sets the font style of a control.

Parameters

  1. controlId

  2. fontStyle - use one of these: "italic", "normal"

Example Usages

Set to italic

   brixxApi.setFontStyle("myControl", "italic");

Set to normal

   brixxApi.setFontStyle("myControl", "normal");
   brixxApi.setFontStyle("myControl"); // you can skip param2 if you want to set back to normal

Last updated