ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Drawing 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
The functions for managing graphic strings are mainly used to display the graphic strings in:
  • the rows found in the List Box or Combo Box controls,
  • Static controls.
  • the title bar or the status bar of a window.
The following WLanguage functions are used to create and handle graphic strings:
gAlignmentBuilds a sequence of characters containing an aligned text or an aligned image.
gBackgroundBuilds a sequence of characters used to define the display color (background color of a text, circle, rectangle, ...).
gBackgroundGradientDescribes a display color in gradient mode.
gCircleBuilds a sequence of characters containing a circle or an ellipse.
gClickableLinkAdds a clickable link in a graphic string.
gCoordBuilds a sequence of characters used to define the position of the input cursor for a text.
gFontBuilds a sequence of characters describing the font that will be used for the text.
gFontBoldBuilds a sequence of characters used to specify whether the text that follows the call to this function is in bold or not.
gFontItalicBuilds a sequence of characters used to specify whether or not the text that follows the call to this function is in italic type.
gFontSizeBuilds a sequence of characters used to specify the size of the font for a text found in a graphic string.
gFontStrikeoutBuilds a sequence of characters used to specify whether the text that follows the call to this function is crossed out or not.
gFontUnderlinedBuilds a sequence of characters to specify whether or not the text that follows the call to this function is underlined.
gImageBuilds a sequence of characters containing an image.
gImageExistsChecks whether an image was loaded in memory.
gLineBuilds a sequence of characters containing a line.
gLinkAdds an "invisible" value into an element found in a List Box or Combo Box control.
Function kept for compatibility. It is recommended to use gStoredValue.
gLinkActivateAllows (or not) retrieving the value defined by gLink in a List Box or a Combo Box control.
Function kept for compatibility. It is recommended to use gStoredValueEnable.
gPenBuilds a sequence of characters used to describe the color of the text and/or the color of the shape outline (rectangle or circle).
gRectangleBuilds a sequence of characters used to draw a rectangle.
gStoredValueAdds an "invisible" value to an element in a List Box, Combo Box or Scheduler control.
gStoredValueEnableAllows (or not) retrieving the value defined by gStoredValue in a List Box or a Combo Box control.
gToRetrieveDescribes the text value to display and to return when retrieving the value of an element found in a List Box control or in a Combo Box control.
gToTextDeletes the graphic elements from a character string that uses gStoredValue, gImage, ...
LoadImageLoads an image in memory so that it can be used later by gImage.
LoadImageSheetLoads an image set in memory so that it can be used later by gImage.
Related Examples:
Graphic lists Unit examples (WINDEV): Graphic lists
[ + ] Handling the graphic lists:
- Select or deselect an option in the list
- Manage a multi-column list
- Manage the selection by drag
- Manage a "hidden" value
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/05/2024

Send a report | Local help