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 FolderModeImage property gets and sets the display mode of the folder image in TreeView and TreeView Table controls.
Example
TABLEH_MaTableHiérarchique.LargeurImageDossier = 50
TABLEH_MaTableHiérarchique.ImageModeDossier = imgHWIS
Syntax

Getting the display mode of the folder image Hide the details

<Current mode> = <Control used>..FolderModeImage
<Current mode>: Integer constant
  • Current image display mode:
    imgCenteredCentered: Image centered in the control.
    Centered image
    imgHHomothetic: Image enlarged or reduced while respecting the proportions of the initial image to be entirely displayed in the control.
    Image stretched to be entirely displayed
    imgHCHomothetic centered: Image enlarged or reduced while respecting the proportions of the initial image to be entirely displayed in the control and centered in the control.
    Image stretched to be entirely displayed and centered
    imgHCEHomothetic extended centered: Image enlarged or reduced in size, respecting the proportions of the original image, so that the smaller side of the image is displayed entirely in the field and the image is centered in the field..
    imgHCWISHomothetic without increasing size: If the image can be entirely displayed in the control, it is displayed at 100% and centered in the control. Otherwise, it is downsized, while maintaining its aspect ratio to fit and appear centered in the control.
    imgHEHomothetic extended: Image enlarged or reduced while respecting the proportions of the initial image in order for the smallest side of the image to be entirely displayed in the control.
    imgHQIn homothetic mode, improves the image quality when it is downsized.
    This constant must be combined with the other constants.
    imgHWISHomothetic without increasing size: If the image can be entirely displayed in the control, it is displayed at 100%. Otherwise, it is downsized, while maintaining its aspect ratio to fit the control.
    imgNormal100%: Image displayed at 100% in the upper-left corner of the control.
    Centered image
    imgNoScaleIt prevents the image from being enlarged in "Large fonts" mode.
    This constant must be combined with one of the constants used to define the display mode of image.
    imgStretchedStretched: Image stretched to occupy the entire surface of the control.
    Stretched image
    imgTiledTiled: Image displayed at 100% and tiled to occupy the entire surface of the control.
    Tiled image
<Control used>: Control name
Name of control to use:
  • TreeView control,
  • TreeView Table control.

Modifying the display mode of the image corresponding to the folder Hide the details

<Control used>..FolderModeImage = <New mode>
<Control used>: Control name
Name of control to use:
  • TreeView control,
  • TreeView Table control.
<New mode>: Integer constant
  • New display mode for the image:
    imgCenteredCentered: Image centered in the control.
    Centered image
    imgHHomothetic: Image enlarged or reduced while respecting the proportions of the initial image to be entirely displayed in the control.
    Image stretched to be entirely displayed
    imgHCHomothetic centered: Image enlarged or reduced while respecting the proportions of the initial image to be entirely displayed in the control and centered in the control.
    Image stretched to be entirely displayed and centered
    imgHCEHomothetic extended centered: Image enlarged or reduced in size, respecting the proportions of the original image, so that the smaller side of the image is displayed entirely in the field and the image is centered in the field..
    imgHCWISHomothetic without increasing size: If the image can be entirely displayed in the control, it is displayed at 100% and centered in the control. Otherwise, it is downsized, while maintaining its aspect ratio to fit and appear centered in the control.
    imgHEHomothetic extended: Image enlarged or reduced while respecting the proportions of the initial image in order for the smallest side of the image to be entirely displayed in the control.
    imgHQIn homothetic mode, improves the image quality when it is downsized.
    This constant must be combined with the other constants.
    imgHWISHomothetic without increasing size: If the image can be entirely displayed in the control, it is displayed at 100%. Otherwise, it is downsized, while maintaining its aspect ratio to fit the control.
    imgNormal100%: Image displayed at 100% in the upper-left corner of the control.
    Centered image
    imgNoScaleIt prevents the image from being enlarged in "Large fonts" mode.
    This constant must be combined with one of the constants used to define the display mode of image.
    imgStretchedStretched: Image stretched to occupy the entire surface of the control.
    Stretched image
    imgTiledTiled: Image displayed at 100% and tiled to occupy the entire surface of the control.
    Tiled image
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help