PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • 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
..TitleImage is used to find out and/or modify the image displayed beside 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.
Note: 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 name>..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 name>: Character string (with or without quotes)
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 name>..TitleImage = <New image>
<Column name>: Character string (with or without quotes)
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 ("Project .. Project description", "Languages" tab, "Various" linguistic options, "Text direction").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

..TitleImage only applies to the Table and TreeView Table controls.
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment