PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • 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 is used to get or change the system bar color in full-screen windows on mobile devices.
Caution: the bar color cannot be changed on Nexus devices.
Example
MyWindow.SystemBarColor = PastelGreen
Syntax

Finding out 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 for 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