ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Specific features
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The SystemBarColor property gets or sets the system bar color of full-screen windows in mobile devices.
Caution: the bar color cannot be changed on Nexus devices.
Example
MyWindow.SystemBarColor = PastelGreen
Syntax

Getting the system bar color Hide the details

<Result> = <Window used>.SystemBarColor
<Result>: Integer or constant
System bar color. This color can correspond to:
<Window used>: Window name
Name of the window to be used.

Changing the system bar color Hide the details

<Window used>.SystemBarColor = <New color>
<Window used>: Window name
Name of the window to be used.
<New color>: Integer or constant
New color of the specified element. This color can correspond to:
  • an RGB color (returned by RGB),
  • an HSL color (returned by HSL),
  • a preset color,
  • one of the following constants:
    AutomaticColorThe system bar color is adapted to the Action Bar (by default).
    TransparentThe system bar is transparent.
Remarks

Specific features

This property is available from Android 5.0.
Minimum version required
  • Version 22
Comments
Click [Add] to post a comment

Last update: 01/15/2024

Send a report | Local help