PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Height in a report
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..Height is used to know and modify the height:
  • of a control or block in a report.
You can also know the height of a cell in a Table control.
Remarks:
  • The border of control or block is included in its height. ..HeightInPixel is used to know the control height in pixels.
  • The height of a control is defined in the editor during the control description.
Example
// Increases the height of "EDT_CustomerName"
EDT_CustomerName..Height = EDT_CustomerName..Height + 15
// Is equivalent to: EDT_CustomerName..Height += 15
Reports and Queries
// 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 object Hide the details

<Result> = <Object name>..Height
<Result>: Real
Height of specified object. This height is expressed in pixels in a window and/or in a page, and in millimeters in a report.
<Object name>: Character string (with or without quotes)
Name of object (control or block) to use.

Modifying the height of an object Hide the details

<Object name>..Height = <New height>
<Object name>: Character string (with or without quotes)
Name of object (control or block) to use.
<New height>: Real
New height for the specified object. 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 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. On the contrary, the height of a page header can be modified by programming.The height of a page footer cannot be modified. However, the height of a page header can be modified by programming.
  • A control must be entirely contained in the block to which it belongs.

Limits

Reports and Queries Limit for the reports
..Height 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