PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
The ExpandedImage property is used to:
  • find out and modify the default image associated with an expanded row in a TreeView Table control.
  • find out and modify the image associated with a specific expanded row in a TreeView Table control.
  • Versions 19 and later
    Universal Windows 10 AppWindows MobileiPhone/iPad find out and modify the image associated with an expanded row in a treeview item of a "TreeView table" report.
    New in version 19
    Universal Windows 10 AppWindows MobileiPhone/iPad find out and modify the image associated with an expanded row in a treeview item of a "TreeView table" report.
    Universal Windows 10 AppWindows MobileiPhone/iPad find out and modify the image associated with an expanded row in a treeview item of a "TreeView table" 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 expanded image for one of the rows found in the TreeView Table control.
  • Versions 19 and later
    Universal Windows 10 AppWindows MobileiPhone/iPad the expanded image of the rows found in a "TreeView table" report.
    New in version 19
    Universal Windows 10 AppWindows MobileiPhone/iPad the expanded image of the rows found in a "TreeView table" report.
    Universal Windows 10 AppWindows MobileiPhone/iPad the expanded image of the rows found in a "TreeView table" report.
Versions 18 and later
PHP This property is now available for PHP sites.
New in version 18
PHP This property is now available for PHP sites.
PHP This property is now available for PHP sites.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode only for TreeView Table reports.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode only for TreeView Table reports.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode only for TreeView Table reports.
Example
// Defines the image used for an expanded row
TVT_Recipe.ExpandedImage = "C:\MyImages\Image.BMP"
// Changes the expanded image of row 4
TVT_Recipe[4].ExpandedImage = "C:\MyImages\Image.BMP"
Versions 19 and later
Universal Windows 10 AppWindows MobileiPhone/iPad
// Change the expanded image in the report
// --BeforePrinting ITEM_TreeView
IF MySelf.HierarchicalDepth = 1 THEN MySelf.ExpandedImage = "C:\Images\tool.png"
New in version 19
Universal Windows 10 AppWindows MobileiPhone/iPad
// Change the expanded image in the report
// --BeforePrinting ITEM_TreeView
IF MySelf.HierarchicalDepth = 1 THEN MySelf.ExpandedImage = "C:\Images\tool.png"
Universal Windows 10 AppWindows MobileiPhone/iPad
// Change the expanded image in the report
// --BeforePrinting ITEM_TreeView
IF MySelf.HierarchicalDepth = 1 THEN MySelf.ExpandedImage = "C:\Images\tool.png"
Syntax

Finding out the default image associated with an expanded row or the image associated with a specific row Hide the details

<Result> = <Control used>.ExpandedImage
<Result>: Character string
  • Name and full path of the default image associated with the expanded rows of 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 expanded 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 an expanded row the image associated with a specific row Hide the details

<Control used>.ExpandedImage = <New image>
<Control used>: Control name
Name of control to use:
  • TreeView Table control.
To modify the expanded 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 the expanded rows in a treeview Table control.
Versions 19 and later
Universal Windows 10 AppWindows MobileiPhone/iPad

Finding out the image of an expanded 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 an expanded 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
Universal Windows 10 AppWindows MobileiPhone/iPad

Finding out the image of an expanded 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 an expanded 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.
Universal Windows 10 AppWindows MobileiPhone/iPad

Finding out the image of an expanded 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 an expanded 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
Universal Windows 10 AppWindows MobileiPhone/iPad

Modifying the image of an expanded 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 an expanded row in the treeview item.
New in version 19
Universal Windows 10 AppWindows MobileiPhone/iPad

Modifying the image of an expanded 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 an expanded row in the treeview item.
Universal Windows 10 AppWindows MobileiPhone/iPad

Modifying the image of an expanded 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 an expanded row in the treeview item.
Minimum version required
  • Version 11
This page is also available for…
Comments
video ExpandedImage
https://youtu.be/NdaQjb7WULA

https://windevdesenvolvimento.blogspot.com/2019/09/dicas-2276-windev-webdev-mobile-imagen.html
//
TVT_PROCESSOS..ExpandedImage=IMG_EXPANDIR
amarildo
07 Sep. 2019