PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Component
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
Builds a sequence of characters used to define the display color (background color of a text, circle, rectangle, ...).
Universal Windows 10 AppAndroidiPhone/iPadIOS WidgetMac Catalyst In a window, this sequence of characters allows to define the Color of Background of a text or a figure (rectangle or circle):
  • in an element found in a List Box or Combo Box control.
  • in a Static control.
Remark: To use a gradient color, call gBackgroundGradient.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
Versions 22 and later
Stored procedures This function is now available in the code of stored procedures.
New in version 22
Stored procedures This function is now available in the code of stored procedures.
Stored procedures This function is now available in the code of stored procedures.
Example
Syntax
<Result> = gBackground(<Color>)
<Result>: Character string
Sequence of characters defining the background color of the text, circle, rectangle, ...
AndroidiPhone/iPadIOS WidgetMac Catalyst This sequence of characters can be:
<Color>: Integer or constant
Display color for the background of the text or for the inside section of a shape (rectangle or circle). This color can correspond to:
  • an RGB color (returned by RGB),
  • an HSL color (returned by HSL),
  • a WLanguage preset color.
  • the Transparent constant (used to overlay a text and a graphic for example).
Remarks

Component

Until version 21, gBackground was available in the wdxxxobj component. From version 22, this function is now available in the wdxxxmdl component.
Component: wd270mdl.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment