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/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.
  • find out and/or modify the image associated with a specific collapsed row in a TreeView Table control.
  • Versions 19 and later
    iPhone/iPadUniversal Windows 10 AppWindows Mobile find out and modify the image in a collapsed row of a TreeView item in a "TreeView table" type report.
    New in version 19
    iPhone/iPadUniversal Windows 10 AppWindows Mobile find out and modify the image in a collapsed row of a TreeView item in a "TreeView table" type report.
    iPhone/iPadUniversal Windows 10 AppWindows Mobile 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
    iPhone/iPadUniversal Windows 10 AppWindows Mobile the collapsed image of the rows found in a "TreeView table" report.
    New in version 19
    iPhone/iPadUniversal Windows 10 AppWindows Mobile the collapsed image of the rows found in a "TreeView table" report.
    iPhone/iPadUniversal Windows 10 AppWindows Mobile the collapsed image of the rows found in a "TreeView table" report.
Versions 21 and later
Universal Windows 10 App This Property is now available in Universal Windows 10 App mode only for hierarchical Array type reports.
New in version 21
Universal Windows 10 App This Property is now available in Universal Windows 10 App mode only for hierarchical Array type reports.
Universal Windows 10 App This Property is now available in Universal Windows 10 App mode only for hierarchical Array type reports.
Example
// Define the image used for a collapsed row
TABLEH_Recette.Image Wound = "C:\MesImage s\Image.BMP"
// Change the collapsed image associated with row 4
TABLEH_Recette[4].Image Wound = "C:\MesImage s\Image.BMP"
Versions 19 and later
iPhone/iPadUniversal Windows 10 AppWindows Mobile
// Change the collapsed image in the report
// --Before printing ITEM_TreeView
IF MySelf.HierarchicalDepth = 1 THEN MySelf.WrapPicture = "C:\Images\tool.png"
New in version 19
iPhone/iPadUniversal Windows 10 AppWindows Mobile
// Change the collapsed image in the report
// --Before printing ITEM_TreeView
IF MySelf.HierarchicalDepth = 1 THEN MySelf.WrapPicture = "C:\Images\tool.png"
iPhone/iPadUniversal Windows 10 AppWindows Mobile
// Change the collapsed image in the report
// --Before printing ITEM_TreeView
IF MySelf.HierarchicalDepth = 1 THEN MySelf.WrapPicture = "C:\Images\tool.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 control to use:
  • TreeView Table 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 used>.CollapsedImage = <New image>
<Control used>: Control name
Name of control to use:
  • TreeView Table 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.
Versions 19 and later
iPhone/iPadUniversal Windows 10 AppWindows Mobile

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 (with or without quotes)
Name of the TreeView item to use.
New in version 19
iPhone/iPadUniversal Windows 10 AppWindows Mobile

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 (with or without quotes)
Name of the TreeView item to use.
iPhone/iPadUniversal Windows 10 AppWindows Mobile

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 (with or without quotes)
Name of the TreeView item to use.
Versions 19 and later
iPhone/iPadUniversal Windows 10 AppWindows Mobile

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 (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
iPhone/iPadUniversal Windows 10 AppWindows Mobile

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 (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.
iPhone/iPadUniversal Windows 10 AppWindows Mobile

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 (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 version required
  • Version 11
This page is also available for…
Comments
Video CollapsedImage
https://youtu.be/ytwVP_9aAiA
https://windevdesenvolvimento.blogspot.com/2019/09/dicas-2274-windev-webdev-mobile-imagen.html

// BTN_EXELISTPROCESS
TVT_PROCESSOS..CollapsedImage=IMG_RECOLHIDA
amarildo
06 Sep. 2019