PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Image position
  • Limit
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The Property Image Title allows to know and/or modify the Image displayed next to the title of a column of an 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_Colonne1.ImageTitre = "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 (with quotes)
  • 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" pane, in the "Project" group, click "Description". In the "Languages" tab, choose the "Various" linguistic options and configure the "Text direction" option.
  • TextDirection.

Limit

The Property TitleImage applies only to fields of type Table and Hierarchical Table.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment