ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Various properties
  • Height in a report
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The Height property gets and sets the height:
  • of a control or block in a report.
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.
Example
// Augmente la hauteur du champ "SAI_NomClient"
SAI_NomClient.Hauteur = SAI_NomClient.Hauteur + 15
// Est équivalent à : SAI_NomClient.Hauteur + = 15
Reports and Queries
// Modification de la hauteur de la fenêtre et d'un champ
FEN_FicheClient.Hauteur += 100	// Ajoute 100 pixels
SAI_Saisie1.Hauteur += 10	// Ajoute 10 pixels
Syntax

Finding out the height of an element Hide the details

<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 Hide the details

<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.
Remarks
Reports and Queries

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.

Limitations

Reports and Queries Limitations for reports
The Height property cannot be used on a report or on a Check Box control.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help