PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Component
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
Builds a sequence of characters used to define the display color (background color of a text, circle, rectangle, ...).
Remark: To use a gradient color, call gBackgroundGradient.
Versions 16 and later
Linux This function is now available for WINDEV applications in Linux.
New in version 16
Linux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WINDEV applications in Linux.
Versions 22 and later
Stored procedures This function is now available in the code of stored procedures.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
New in version 22
Stored procedures This function is now available in the code of stored procedures.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
Stored procedures This function is now available in the code of stored procedures.
WEBDEV - Server codeLinux This function is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This function is now available for WEBDEV sites in Windows.
Example
Syntax
<Result> = gBackground(<Color>)
<Result>: Character string
Sequence of characters defining the background color of the text, circle, rectangle, ...
WEBDEV - Server code This sequence of characters is not interpreted by the controls in WEBDEV. This function can be used to format the string returned by a WEBDEV Webservice consumed by a WINDEV or WINDEV Mobile application.
<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 preset color of WLanguage.
  • 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 : wd250mdl.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment