Help / WLanguage / WLanguage functions / Controls, pages and windows / Graphic string functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
Builds a sequence of characters used to describe the color of the text and/or the color of the shape outline (rectangle or circle).
WINDEVUniversal Windows 10 AppAndroidiPhone/iPad In a window, this sequence of characters sets the text and/or outline color:
  • in an element of a List Box or Combo Box control.
  • in the title bar and/or status bar of a window.
  • in a Static control.
    Remark: It may be necessary to adjust the text after the content is defined.
// Add "Yellow" colored in yellow in "LIST_ListColors"
ListAdd(LIST_ListColors, gPen(LightYellow) + "Yellow")
<Result> = gPen(<Color>)
<Result>: Character string
Sequence of characters defining the color of the text or the color of the shape outline (circle, rectangle, ...).
WINDEVUniversal Windows 10 AppAndroidiPhone/iPad This sequence of characters can be:
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 text or for the outline of a shape (rectangle or circle). This color can correspond to:
Component: wd290mdl.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 01/11/2023

Send a report | Local help