PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..CollapsedImage is used to:
  • find out and/or modify the default image associated with a collapsed row in a TreeView Table control.
  • Versions 21 and later
    WINDEV find out and/or modify the default image associated with a collapsed row in a TreeView control.
    New in version 21
    WINDEV find out and/or modify the default image associated with a collapsed row in a TreeView control.
    WINDEV 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.
  • Versions 19 and later
    WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App find out and modify the image in a collapsed row of a TreeView item in a "TreeView table" type report.
    New in version 19
    WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App find out and modify the image in a collapsed row of a TreeView item in a "TreeView table" type report.
    WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App 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 21 and later
    WINDEV 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.
    New in version 21
    WINDEV 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.
    WINDEV 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.
  • Versions 19 and later
    WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App the collapsed image of the rows found in a "TreeView table" report.
    New in version 19
    WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App the collapsed image of the rows found in a "TreeView table" report.
    WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App the collapsed image of the rows found 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 the 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 the WEBDEV sites in Linux.
WEBDEV - Server codeWindows This property is now available for WEBDEV sites.
WEBDEV - Server codeLinux This property is now available for the WEBDEV sites in Linux.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode for the TreeView Table reports.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode for the TreeView Table reports.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode for the TreeView Table reports.
Example
// 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"
Versions 19 and later
WINDEVReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App
// Change the collapsed image in the report
// --BeforePrinting ITEM_TreeView
IF MySelf..HierarchicalDepth = 1 THEN MySelf..CollapsedImage = "C:\Images\tool.png"
New in version 19
WINDEVReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App
// Change the collapsed image in the report
// --BeforePrinting ITEM_TreeView
IF MySelf..HierarchicalDepth = 1 THEN MySelf..CollapsedImage = "C:\Images\tool.png"
WINDEVReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App
// Change the collapsed image in the report
// --BeforePrinting ITEM_TreeView
IF MySelf..HierarchicalDepth = 1 THEN MySelf..CollapsedImage = "C:\Images\tool.png"
WEBDEV - Server code
// Change the collapsed image associated with row 4 of a TreeView table found in a WEBDEV site
// from a server code
// The relative path is based on the WEB directory of the site
// (returned by fWebDir)
TVT_Recipe[4]..CollapsedImage = ".\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 name>..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 name>: Character string (with or without quotes)
Name of control to use:
  • TreeView Table control.
  • Versions 21 and later
    WINDEV TreeView control.
    New in version 21
    WINDEV TreeView control.
    WINDEV TreeView control.
To find out the collapsed image associated with a specific row in a TreeView Table control, use the following notation:
<Name of 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 name>..CollapsedImage = <New image>
<Control name>: Character string (with or without quotes)
Name of control to use:
  • TreeView Table control.
  • Versions 21 and later
    WINDEV TreeView control.
    New in version 21
    WINDEV TreeView control.
    WINDEV TreeView control.
To modify the collapsed image associated with a specific row in a TreeView Table control, use the following notation:
<Name of TreeView table>[<Row number>]
<New image>: Character string (with quotes)
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
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App

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

<Result> = <Name of 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.
<Name of TreeView item>: Character string (with or without quotes)
Name of the TreeView item to use.
New in version 19
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App

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

<Result> = <Name of 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.
<Name of TreeView item>: Character string (with or without quotes)
Name of the TreeView item to use.
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App

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

<Result> = <Name of 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.
<Name of TreeView item>: Character string (with or without quotes)
Name of the TreeView item to use.
Versions 19 and later
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App

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

<Name of TreeView item>..ExpandedImage = <New image>
<Name of TreeView item>: Character string (with or without quotes)
Name of the TreeView item to use.
<New image>: Character string (with quotes)
Name and full path of the new image associated with a collapsed row in the TreeView item.
New in version 19
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App

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

<Name of TreeView item>..ExpandedImage = <New image>
<Name of TreeView item>: Character string (with or without quotes)
Name of the TreeView item to use.
<New image>: Character string (with quotes)
Name and full path of the new image associated with a collapsed row in the TreeView item.
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadWindows MobileUniversal Windows 10 App

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

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