This shows you the differences between two versions of the page.
software:modules-and-examples:statusbar-demo [2013/05/09 00:27] aaron Page moved from software:examples-software:gui-examples:statusbar-demo to software:modules-and-examples:statusbar-demo |
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 ==== | ||
Line 23: | Line 35: | ||
- Send the command via a Timer on a page. This method could be used to activate the status bar on specific pages only. | - Send the command via a Timer on a page. This method could be used to activate the status bar on specific pages only. | ||
- Via feedback processing, setting the digital join state in a capture group or onmatch item. | - Via feedback processing, setting the digital join state in a capture group or onmatch item. | ||
+ | |||
+ | \\ |