brixxbox Wiki
Search
⌃K

setFontStyle

Sets the font style of a control.

Parameters

  1. 1.
    controlId
  2. 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