PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Specific features
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..SystemBarColor is used to find out and modify the color of the system bar in the maximized mobile windows.
Example
MyWindow..SystemBarColor = PastelGreen
Syntax

Finding out the color of system bar Hide the details

<Result> = <Window name>..SystemBarColor
<Result>: Integer or constant
Color of system bar. This color can correspond to:
<Window name>: Character string (with or without quotes)
Name of window to use.

Modifying the color of the system bar Hide the details

<Window name>..SystemBarColor = <New color>
<Window name>: Character string (with or without quotes)
Name of window to use.
<New color>: Integer or constant
New color for the specified element. This color can correspond to:
  • an RGB color (returned by RGB),
  • an HSL color (returned by HSL),
  • a preset color variable,
  • one of the following constants:
    AutomaticColorUses the system color (default operating mode).
    AndroidAndroid Widget The color of the system bar is adapted to the Action Bar.
    TransparentThe color of system bar is the one of Action Bar. This constant is taken into account only if the window contains an Action Bar.
    AndroidAndroid Widget The color of the system bar is transparent.
Remarks
AndroidAndroid Widget

Specific features

  • This property is available from Android 5.0.
  • Caution, the bar color cannot be changed on the Nexus devices.
Minimum version required
  • Version 22
Comments
Click [Add] to post a comment