|
|
|
|
CollapsedImage (Property) In french: ImageEnroulée
The CollapsedImage property is used to: - find out and/or modify the default image associated with a collapsed row in a TreeView Table control.
- find out and/or modify the default image associated with a collapsed row in a TreeView control.
- find out and/or modify the image associated with a specific collapsed row in a TreeView Table control.
- find out and modify the image in a collapsed row of a TreeView item in a "TreeView table" type report.
This property is used to define: - the image that will be used by default during the next additions in the TreeView Table control. This image will be taken into account by TableAdd, TableAddLine, TableAddChild, TableInsert, TableInsertLine, TableInsertChild, etc.
- the collapsed image for one of the rows found in the TreeView Table control.
- the image that will be used by default during the next additions in the TreeView control. This image will be taken into account by TreeAdd and TreeInsert.
- the collapsed image of the rows in a "TreeView Table" report.
// Define the image used for a collapsed row TVT_Recipe.CollapsedImage = "C:\MyImages\Image.BMP"
// Change the collapsed image associated with row 4 TVT_Recipe[4].CollapsedImage = "C:\MyImages\Image.BMP"
Syntax
Finding out the default image associated with a collapsed row or the image associated with a specific row Hide the details
<Result> = <Control used>.CollapsedImage
<Result>: Character string - Name and full path of the default image associated with the collapsed rows in the control.
- Empty string ("") if the image used by default was not modified.
<Control used>: Control name Name of the control to be used: - TreeView Table control.
- TreeView control.
To find out the collapsed image associated with a specific row in a TreeView Table control, use the following notation: <TreeView Table>[<Row number>]
Modifying the default image associated with a collapsed row or the image associated with a specific row Hide the details
<Control used>.CollapsedImage = <New image>
<Control used>: Control name Name of the control to be used: - TreeView Table control.
- TreeView control.
To modify the collapsed image associated with a specific row in a TreeView Table control, use the following notation: <TreeView Table>[<Row number>] <New image>: Character string Name and full path of the new image associated by default with a collapsed row.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|