CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


software:modules-and-examples:statusbar-demo

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:modules-and-examples:statusbar-demo [2013/05/09 01:56]
aaron
software:modules-and-examples:statusbar-demo [2015/05/29 02:31] (current)
jarrod
Line 14: Line 14:
   * Toggle = 17922   * Toggle = 17922
 These join numbers were originally chosen to emulate the status bar features of Crestron touch panels. These join numbers were originally chosen to emulate the status bar features of Crestron touch panels.
 +
 +You can also use JavaScript to change the status bar appearance:
 +<sxh js; light: true>
 +// Make status bar text black
 +CF.setDeviceProperty(CF.StatusBarAppearanceProperty,​ CF.STATUS_BAR_BLACK_TEXT);​
 +
 +// Make status bar text white
 +CF.setDeviceProperty(CF.StatusBarAppearanceProperty,​ CF.STATUS_BAR_WHITE_TEXT);​
 +
 +// Hide the status bar
 +CF.setDeviceProperty(CF.StatusBarAppearanceProperty,​ CF.STATUS_BAR_HIDDEN);​
 +</​sxh>​
  
 ==== Activation methods ==== ==== Activation methods ====
software/modules-and-examples/statusbar-demo.1368064612.txt.gz ยท Last modified: 2013/05/09 01:56 by aaron