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)
  • Limits
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 MaxHeight property gets and sets the maximum height of a control or window.
By default, the maximum height:
  • of a control is equal to 2 147 483 647 (0x7FFFFFFF). This value is equivalent to "no maximum size limit".
  • of a window is equal to 20 000. However, the size of windows should not exceed the size of the screen.
Reminder The maximum height of a field or window is used for the following operations:
  • Window resized by the user.
  • Management of anchors.
The maximum height of a control or window is not used when the window is resized through programming (with the Height property or the WinSize function).
Ejemplo
// Modify the maximum height of a control
EDT_Edit1.MaxHeight = 200
Sintaxis

Finding out the maximum height of an element Ocultar los detalles

<Current maximum height> = <Element used>.MaxHeight
<Current maximum height>: Integer
Maximum height of the specified element (including borders) in pixels.
<Element used>: Control name or window name
Name of the element (window or control) whose maximum height will be calculated.

Modifying the maximum height of an element Ocultar los detalles

<Element used>.MaxHeight = <New maximum height>
<Element used>: Control name or window name
Name of element (window or control) whose maximum height will be modified.
<New maximum height>: Integer
New maximum height of the element (including borders) 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 object height 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).
Java

Limits

The MaxHeight property can only be used with the following elements:
  • Button control.
  • Static Text control.
  • Edit control.
  • Image control.
  • Check Box control.
  • Radio Button control.
  • List Box control.
  • Combo Box control.
  • TreeView control.
  • Tab control.
  • Table control.
  • Supercontrols.
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