ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Graphic string functions
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 describe the color of the text and/or the color of the shape outline (rectangle or circle).
WINDEVUniversal Windows 10 App 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.
Example
WINDEV
// Add "Yellow" colored in yellow in "LIST_ListColors"
ListAdd(LIST_ListColors, gPen(LightYellow) + "Yellow")
Syntax
<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 App This sequence of characters can be:
<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…
Comments
Click [Add] to post a comment

Last update: 01/11/2023

Send a report | Local help