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 varias
  • Height in a report
  • Row height
  • Initial height (control and window)
  • Limitations
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 Height property gets and sets the height:
  • of a control or block in a report.
  • WINDEVJava of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
  • WINDEV of a break cell in a Table or Looper control.
You can also get the height of a cell in a Table control.
Remarks:
  • The border of the control or block is included in its height. The HeightInPixel property is used to get the height of a control in pixels.
  • The height of a control is defined in the editor, in the control description.
Ejemplo
// Increases the height of "EDT_CustomerName"
EDT_CustomerName.Height = EDT_CustomerName.Height + 15
// Is equivalent to: SAI_CustomerName.Height + = 15
WINDEVJavaCódigo de Usuario (UMC)
// Modify the height of a window and control
WIN_CustomerForm.Height += 100	// Adds 100 pixels
EDT_Input1.Height += 10	// Adds 10 pixels
Sintaxis

Finding out the height of an element Ocultar los detalles

<Result> = <Element used>.Height
<Result>: Real
Height of the specified element. This height is expressed in pixels in a window and/or in a page, and in millimeters in a report.
<Element used>: Name of control or block.
Name of the element (control or block) to use.

Modifying the height of an element Ocultar los detalles

<Element used>.Height = <New height>
<Element used>: Name of control or block.
Name of the element (control or block) to use.
<New height>: Real
New height of the specified element. This height is expressed in pixels in a window and/or in a page, and in millimeters in a report.
Observaciones
WINDEV

Height in a report

  • The height of a non-breakable block cannot exceed the available page height (excluding the page header and the page footer).
  • The height of a page footer cannot be modified. However, the height of a page header can be modified through programming.
  • A control must be entirely contained in the block to which it belongs.
WINDEVJavaCódigo de Usuario (UMC)

Row height

The height of each row in a Table, List Box or ListView control can be defined programmatically. For browsing List Box and Table controls, this height is kept for the visible section on the screen only
Example: Set the height of line 3 of the "LISTE_Liste1" list to 200.
LIST_List1[3].Height = 200
Note: For a column in a Table control, the property Height property indicates the visible height of the Table control column. This property is read-only.
WINDEVJavaCódigo de Usuario (UMC)

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 object depends on MaxHeight and MinHeight. However, this constraint no longer applies when the height is changed through programming (with the Height property or the WinSize function).

Limitations

WINDEV Limitations for reports
The Height property cannot be used on a report or on a Check Box control.
Java The Height 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.
  • Window.
  • Table control.
  • Table Column control.
  • Supercontrol.
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