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
  • Initial height (control and window)
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 MinHeight property gets and sets the minimum height of a control or window.
The minimum height of the controls and windows is 0 by default. However, some controls cannot be resized below the size of their border.
Reminder: The minimum height of a field or window is used for the following operations:
  • Window resized by the user.
  • Management of anchors.
  • Window resized through programming (with the Height property or the WinSize function).
Ejemplo
// Modify the minimum height of a control
EDT_Edit1.MinHeight = 200
EDT_Edit1.Height = 150
// In fact, the height of the control will be equal to 200
Sintaxis

Finding out the minimum height of an element Ocultar los detalles

<Current minimum height> = <Element used>.MinHeight
<Current minimum height>: Integer
Minimum height of specified element (including the border) expressed in pixels.
<Element used>: Control name or window name
Name of element (window or control) whose minimum height will be calculated.

Modifying the minimum height of an element Ocultar los detalles

<Element used>.MinHeight = <New minimum height>
<Element used>: Control name or window name
Name of element (window or control) whose minimum height will be modified
<New minimum height>: Integer
New minimum height of element (including the border) expressed in pixels.
Observaciones

Initial height (control and window)

The initial height (described in the editor) is returned by the InitialHeight property.
In most cases, the height of an element depends on the MaxHeight and MinHeight properties. However, this constraint no longer applies when the height is changed programmatically (with the Height property or the WinSize function).
Versión mínima requerida
  • Versión 9
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