PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..FolderModeImage is used to find out and modify the display mode of the image corresponding to the folder in the TreeView and TreeView Table controls.
Example
TVT_MyTreeViewTable..FolderImageWidth = 50
TVT_MyTreeViewTable..FolderModeImage = imgHWIS
Syntax

Finding out the display mode of the image corresponding to the folder Hide the details

<Current Mode> = <Control Name>..FolderModeImage
<Current Mode>: Integer constant
  • Current display mode of image:
    imgCenteredCentered: Image centered in the control.
    Centered image
    imgStretchedStretched: Image stretched across the entire surface of the control.
    Stretched image
    imgHHomothetic: Image enlarged or reduced (while respecting the proportions of the initial image) to occupy the entire surface of the control.
    Image stretched to be entirely displayed
    imgHCHomothetic centered: Image enlarged or reduced (while respecting the proportions of the initial image) to occupy the entire surface of the control and centered in the control.
    Image stretched to be entirely displayed and centered
    imgHEHomothetic extended: Image enlarged or reduced (while respecting the proportions of the initial image) so that the smaller side of the image is entirely displayed in the control.
    imgHCEHomothetic centered extended: Image enlarged or reduced (while respecting the proportions of the initial image) in order for the smaller side of the image to be entirely displayed in the control and in order for the image to be centered in the control.
    imgHQIn homothetic mode, used to improve the quality of the image when this one is reduced in relation to its initial size.
    This constant must be combined with the other constants.
    imgHWISHomothetic without enlargement: If the image can be entirely displayed in the control, it is displayed at 100%. Otherwise, the image is proportionally reduced in order to be entirely displayed.
    imgHCWISHomothetic without enlargement: If the image can be entirely displayed in the control, it is displayed at 100% and centered in the control. Otherwise, the image is proportionally reduced in order to be entirely displayed and centered in the control.
    imgTiledTiled: Image displayed at 100% and tiled to occupy the entire surface of the control (tile).
    Tiled image
    imgNormal100%: Image displayed at 100% in the top left corner of the control.
    Centered image
    imgNoScaleAllows you not to zoom the image in "Large fonts" mode.
    This constant must be combined with one of the constants used to define the display mode of the image.
<Control Name>: Character string (with or without quotes)
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 Name>..FolderModeImage = <New Mode>
<Control Name>: Character string (with or without quotes)
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
    imgStretchedStretched: Image stretched across the entire surface of the control.
    Stretched image
    imgHHomothetic: Image enlarged or reduced (while respecting the proportions of the initial image) to occupy the entire surface of the control.
    imgHCHomothetic centered: Image enlarged or reduced (while respecting the proportions of the initial image) to occupy the entire surface of the control and centered in the control.
    imgHEHomothetic extended: Image enlarged or reduced (while respecting the proportions of the initial image) so that the smaller side of the image is entirely displayed in the control.
    imgHCEHomothetic centered extended: Image enlarged or reduced (while respecting the proportions of the initial image) in order for the smaller side of the image to be entirely displayed in the control and in order for the image to be centered in the control.
    imgHQIn homothetic mode, used to improve the quality of the image when this one is reduced in relation to its initial size.
    This constant must be combined with the other constants.
    imgHWISHomothetic without enlargement: If the image can be entirely displayed in the control, it is displayed at 100%. Otherwise, the image is proportionally reduced in order to be entirely displayed.
    imgHCWISHomothetic without enlargement: If the image can be entirely displayed in the control, it is displayed at 100% and centered in the control. Otherwise, the image is proportionally reduced in order to be entirely displayed and centered in the control.
    imgTiledTiled: Image displayed at 100% and tiled to occupy the entire surface of the control (tile).
    Tiled image
    imgNormal100%: Image displayed at 100% in the top left corner of the control.
    Centered image
    imgNoScaleAllows you not to zoom the image in "Large fonts" mode.
    This constant must be combined with one of the constants used to define the display mode of the image.
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment