PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..FolderImageWidth is used to find out and modify the width of the image corresponding to the folders in the TreeView and TreeView Table controls.
This property corresponds to the option:
  • "Width of folder image" found in the "Details" tab of the description window of TreeView controls.
  • "Width" of the "Image of folders" section found in the "Details" tab of the description window of TreeView Table controls.
Example
// Delete the display of folders
TREE_MyTreeView..FolderImageWidth = 0
 
// Restore the display of folders
TREE_MyTreeView..FolderImageWidth = -1 // Default value
Syntax

Finding out the width of the image corresponding to the folder Hide the details

<Current width> = <Control name>..FolderImageWidth
<Current width>: Integer
  • Current width of the image displayed (expressed in pixels),
  • 0 if the image is not displayed,
  • -1 if the image is displayed with its initial width.
<Control name>: Character string (with or without quotes)
Name of control to use:
  • TreeView control,
  • TreeView Table control.

Modifying the width of the image corresponding to the folder Hide the details

<Control name>..FolderImageWidth = <New width>
<Control name>: Character string (with or without quotes)
Name of control to use:
  • TreeView control,
  • TreeView Table control.
<New width>: Integer
New width for the image displayed (expressed in pixels)
If this parameter is set to:
  • 0 if the image is not displayed,
  • -1 if the image is displayed with its initial width.
Remarks
To modify the width of the image displayed for a specific row in a TreeView or TreeView Table control, use the following syntax:
<Control_Name>[Row_Number]..FolderImageWidth = Value
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment