PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Height in a report
  • Initial height (control and window)
  • Limitations
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The Height property is used to get and change the height:
  • of a control or block in a report.
  • Universal Windows 10 AppAndroidiPhone/iPadIOS Widget 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.
You can also know 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.
  • AndroidiPhone/iPad To make the content of a maximized window scrollable, use the UsefulHeight property.
Example
// Increases the height of "EDT_CustomerName"
EDT_CustomerName.Height = EDT_CustomerName.Height + 15
// Is equivalent to: EDT_CustomerName.Height += 15
Universal Windows 10 AppAndroidiPhone/iPadIOS WidgetApple Watch
// Modify the height of a window and control
WIN_CustomerForm.Height += 100 // Adds 100 pixels
EDT_Input1.Height += 10 // Adds 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
Universal Windows 10 AppiPhone/iPadIOS Widget

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.
Universal Windows 10 AppAndroidiPhone/iPadIOS WidgetApple Watch

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

Universal Windows 10 AppiPhone/iPadIOS Widget Limit for the reports
The Height property cannot be used on a report or on a Check Box control.
Android The Height property is not available on Table control columns.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment