|
|
|
|
|
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:
| | gAlignment | Builds a sequence of characters containing an aligned text or an aligned image. | gBackground | Builds a sequence of characters used to define the display color (background color of a text, circle, rectangle, ...). | gBackgroundGradient | Describes a display color in gradient mode. | gCircle | Builds a sequence of characters containing a circle or an ellipse. | gClickableLink | Adds a clickable link in a graphic string. | gCoord | Builds a sequence of characters used to define the position of the input cursor for a text. | gFont | Builds a sequence of characters describing the font that will be used for the text. | gFontBold | Builds a sequence of characters used to specify whether the text that follows the call to this function is in bold or not. | gFontItalic | Builds a sequence of characters used to specify whether or not the text that follows the call to this function is in italic type. | gFontSize | Builds a sequence of characters used to specify the size of the font for a text found in a graphic string. | gFontStrikeout | Builds a sequence of characters used to specify whether the text that follows the call to this function is crossed out or not. | gFontUnderlined | Builds a sequence of characters to specify whether or not the text that follows the call to this function is underlined. | gImage | Builds a sequence of characters containing an image. | gImageExists | Checks whether an image was loaded in memory. | gLine | Builds a sequence of characters containing a line. | gLink | Adds 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. | gLinkActivate | Allows (or not) retrieving the value defined by gLink in a List Box or a Combo Box control. | gPen | Builds a sequence of characters used to describe the color of the text and/or the color of the shape outline (rectangle or circle). | gRectangle | Builds a sequence of characters used to draw a rectangle. | gStoredValue | Adds an "invisible" value to an element in a List Box, Combo Box or Scheduler control. | gStoredValueEnable | Allows (or not) retrieving the value defined by gStoredValue in a List Box or a Combo Box control. | gToRetrieve | Describes 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. | gToText | Deletes the graphic elements from a character string that uses gStoredValue, gImage, ... | LoadImage | Loads an image in memory so that it can be used later by gImage. | LoadImageSheet | Loads an image set in memory so that it can be used later by gImage. |
Related Examples:
|
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
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|