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 / Funciones WLanguage / Controles, páginas y ventanas / Funciones de ventanas
  • Conditions required to resize the window
  • Effects of resize operation on the window
  • Automatic window resizing
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
Adapts the window size to the content of controls. The window is resized in order for the controls to be displayed in the best possible way (no empty row and no scrollbar).
Note: This resizing is performed automatically if the "Adaptar tamaño según el contenido" option is checked in the "UI" tab of the window description.
Ejemplo
// Affiche le champ Table
TableDisplay(TABLE_Table1)
// Adapte la taille de la fenêtre
WinAdaptSize()
Sintaxis
WinAdaptSize([<Window used>])
<Window used>: Optional window name
Name or alias of the window to be used. If this parameter corresponds to an empty string (""), the current window is used.
Observaciones

Conditions required to resize the window

The window must contain at least one of the following controls anchored in width and/or in height:
  • List Box control,
  • Table control,
  • Looper control,
  • TreeView control,
  • ListView control,
  • Multiline edit control.
WinAdaptSize has no effect if the window contains no control corresponding to the criteria.

Effects of resize operation on the window

  • The window is reduced if it contains empty rows.
  • The window is enlarged in order for all the rows to be visible (including the rows displayed via a scrollbar).
Remarks:
  • The window is not enlarged:
    • above its maximum size (defined by its maximum width and by its maximum height).
    • above the size of the screen.
  • The window is not reduced below its minimum size (defined by its minimum width and by its minimum height).

Automatic window resizing

The window is automatically resized if the option "Adaptar tamaño según el contenido" is checked in the window description ("UI" tab).
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 10
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 21/09/2024

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