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.
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 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 image associated with a specific collapsed row in a TreeView Table control.
  • Versions 19 and later
    WEBDEV - Server code find out and modify the image in a collapsed row of a TreeView item in a "TreeView table" type report.
    New in version 19
    WEBDEV - Server code find out and modify the image in a collapsed row of a TreeView item in a "TreeView table" type report.
    WEBDEV - Server code 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, ...
  • the collapsed image for one of the rows found in the TreeView Table control.
  • Versions 19 and later
    WEBDEV - Server code the collapsed image of the rows in a "TreeView Table" report.
    New in version 19
    WEBDEV - Server code the collapsed image of the rows in a "TreeView Table" report.
    WEBDEV - Server code the collapsed image of the rows in a "TreeView Table" report.
Versions 18 and later
WEBDEV - Server codeWindows This property is now available for WEBDEV sites.
WEBDEV - Server codeLinux This property is now available for WEBDEV sites in Linux.
New in version 18
WEBDEV - Server codeWindows This property is now available for WEBDEV sites.
WEBDEV - Server codeLinux This property is now available for WEBDEV sites in Linux.
WEBDEV - Server codeWindows This property is now available for WEBDEV sites.
WEBDEV - Server codeLinux This property is now available for WEBDEV sites in Linux.
Example
// Définit l'image utilisée pour une ligne enroulée
TABLEH_Recette.ImageEnroulée = "C:\MesImages\Image.BMP"
// Change l'image enroulée de la ligne 4
TABLEH_Recette[4].ImageEnroulée = "C:\MesImages\Image.BMP"
WEBDEV - Server code
// Change l'image enroulée de la ligne 4 d'un champ Table hiérarchique d'un site WEBDEV
// depuis un code serveur
// Le chemin relatif se base sur le répertoire WEB du site
// (connu par la fonction fRepWeb)
TABLEH_Recette[4].ImageEnroulée = ".\Image.png"
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.
To find out the collapsed image associated with a specific row in a TreeView Table control, use the following notation:
<Table hiérarchique>[<Numéro de la ligne>]

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.
To modify the collapsed image associated with a specific row in a TreeView Table control, use the following notation:
<Table hiérarchique>[<Numéro de la ligne>]
<New image>: Character string
Name and full path of the new image associated by default with a collapsed row.
WEBDEV - Server code The access path to the images must be relative to the "<ProjectName>_WEB" directory. For example, in this case, the image is found in an "Images" sub-directory of the "_WEB" directory of the site:
MySelf.ExpandedImage = "\Images\Job_16.gif"
MySelf.CollapsedImage = "\Images\Job_16.gif"
Versions 19 and later
WEBDEV - Server code

Finding out the image of a collapsed treeview item in a "TreeView Table" report Hide the details

<Result> = <TreeView item>.ExpandedImage
<Result>: Character string
  • Name and full path of the image associated with a collapsed row in the TreeView item.
  • Empty string ("") if no image is used.
<TreeView item>: Character string
Name of the TreeView item to use.
New in version 19
WEBDEV - Server code

Finding out the image of a collapsed treeview item in a "TreeView Table" report Hide the details

<Result> = <TreeView item>.ExpandedImage
<Result>: Character string
  • Name and full path of the image associated with a collapsed row in the TreeView item.
  • Empty string ("") if no image is used.
<TreeView item>: Character string
Name of the TreeView item to use.
WEBDEV - Server code

Finding out the image of a collapsed treeview item in a "TreeView Table" report Hide the details

<Result> = <TreeView item>.ExpandedImage
<Result>: Character string
  • Name and full path of the image associated with a collapsed row in the TreeView item.
  • Empty string ("") if no image is used.
<TreeView item>: Character string
Name of the TreeView item to use.
Versions 19 and later
WEBDEV - Server code

Modifying the image of a collapsed TreeView item in a "TreeView Table" report Hide the details

<TreeView item>.ExpandedImage = <New image>
<TreeView item>: Character string
Name of the TreeView item to be used.
<New image>: Character string
Name and full path of the new image associated with a collapsed row in the TreeView item.
New in version 19
WEBDEV - Server code

Modifying the image of a collapsed TreeView item in a "TreeView Table" report Hide the details

<TreeView item>.ExpandedImage = <New image>
<TreeView item>: Character string
Name of the TreeView item to be used.
<New image>: Character string
Name and full path of the new image associated with a collapsed row in the TreeView item.
WEBDEV - Server code

Modifying the image of a collapsed TreeView item in a "TreeView Table" report Hide the details

<TreeView item>.ExpandedImage = <New image>
<TreeView item>: Character string
Name of the TreeView item to be used.
<New image>: Character string
Name and full path of the new image associated with a collapsed row in the TreeView item.
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment