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
The Property WidthImage Folder allows to know and modify the width of the Image corresponding to the folders in the Tree and Hierarchical Table fields.
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
// Supprimer l'affichage des dossiers
ARBRE_MonArbre.LargeurImageDossier = 0
 
// Restaurer l'affichage des dossiers
ARBRE_MonArbre.LargeurImageDossier = -1 // Valeur par défaut
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:
  • 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:
  • 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>[Numéro_Ligne].LargeurImageDossier = Valeur
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment