ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The FolderImageWidth property gets and sets the folder image width in TreeView and TreeView Table controls.
This property corresponds to the option:
  • "Width of folder image" in the "Details" tab of the TreeView control description window.
  • "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 used>.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 used>: Control name
Name of control to use:
  • WINDEV TreeView control,
  • TreeView Table control.

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

<Control used>.FolderImageWidth = <New width>
<Control used>: Control name
Name of control to use:
  • WINDEV 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:
<Nom_champ>[Line_number].FolderImageWidth = Value
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help