|
|
|
|
|
TitleImage (Property) In french: ImageTitre
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 TreeView Table controls. Remark: This property lets you simply include an image in a column title. gImage is not required anymore. // 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: - project language options: in the "Project" pane, in the "Project" group, click on "Description".. On the "Languages" tab, choose the "Miscellaneous" language options and configure the "Text direction" option.
- the TextDirection property.
Limit The TitleImage property can only be used on Table and TreeView Table controls.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|