AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The FolderModeImage property gets and sets the display mode of the folder image in TreeView and TreeView Table controls.
Ejemplo
TVT_MyTreeViewTable.FolderImageWidth = 50
TVT_MyTreeViewTable.FolderModeImage = imgHWIS
Sintaxis

Getting the display mode of the folder image Ocultar los detalles

<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, used to improve the quality of image when this one is reduced in relation to its initial size.
    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
    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 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 Ocultar los detalles

<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, used to improve the quality of image when this one is reduced in relation to its initial size.
    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
    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 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
Versión mínima requerida
  • Versión 22
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

Señalar un error o enviar una sugerencia | Ayuda local