brixxbox Wiki
Search
⌃K

setFontWeight

Sets the font weight of a control.

Parameters

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

Example Usages

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