ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Image position
  • Limit
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 TitleImage property is used to get and/or change the image displayed next to the title of a column in a Table control. The image is positioned on the left of the column title (or on the right if the writing direction is reversed).
This property is also available for the TreeView Table controls.
Remark: This property is used to easily include an image in a column title. gImage is not required anymore.
Example
// Includes an image in the column title
COL_Column1.TitleImage = "smallblue.gif"
Syntax

Finding out the image associated with a column title Hide the details

<Image name> = <Column used>.TitleImage
<Image name>: Character string
  • Name of the image used in the title of the column,
  • Empty string ("") if no image is associated with the column.
<Column used>: Control name
Name of the column (in the Table or TreeView Table control) to use.

Modifying the image associated with a column title Hide the details

<Column used>.TitleImage = <New image>
<Column used>: Control name
Name of the column (in the Table or TreeView Table control) to use.
<New image>: Character string
  • Name of the image (with its path if necessary) used in the title of the column,
  • Empty string ("") if no image must be associated with the column.
No image will be displayed if the specified image does not exist.
Remarks

Image position

The position of the image in the column title depends on the writing direction chosen for the application:
  • If the writing direction goes from right to left, the image will be positioned to the right of the column title.
  • If the writing direction goes from left to right, the image will be positioned to the left of the column title.
Reminder: The writing direction of an application can be defined by:
  • the linguistic options of the project: on the "Project" tab, in the "Project" group, click "Description". In the "Languages" tab, choose the "Various" linguistic options and configure the "Text direction" option.
  • the TextDirection property.

Limit

The TitleImage property can only be used on Table and TreeView Table controls.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help