This shows you the differences between two versions of the page.
software:modules-and-examples:statusbar-demo [2013/05/09 00:49] aaron |
software:modules-and-examples:statusbar-demo [2015/05/29 02:31] (current) jarrod |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Statusbar Demo ====== | + | ====== Statusbar Example ====== |
This demo guiDesigner project shows you how to manage the status bar visibility. | This demo guiDesigner project shows you how to manage the status bar visibility. | ||
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 ==== |