PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Height in a report
  • Height of a row
  • Height of controls in a form
  • 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.
  • WEBDEV - Server codeWEBDEV - Browser codePHP of a control (in a page), break header or footer in a Looper control. The control can be overlayable or not. WEBDEV - Server codeWEBDEV - Browser codePHP of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
You can also know the height of a cell in a Table control.
WEBDEV - Server code The modification is available for "Automatic" or "Dynamic" controls only ("Details" tab of the control description).
WEBDEV - Server code The modification is available for "Automatic" or "Dynamic" controls only ("GUI" tab of the control description).
WEBDEV - Server code The modification is available for overlayable controls only ("GUI" tab of the control description).
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
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
WEBDEV - Server code

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.
WEBDEV - Server codePHPAjax

Height of a row

The height of each row in a Table, List Box or ListView control can be defined by programming. For browsing List Box and Table controls, this height is kept for the visible section on the screen only
Example: Defines the height of row 3 in "LIST_List1" to 200.
LIST_List1[3]..Height = 200
Remark: For a column in a Table control, ..Height is used to know the visible height of the column in the Table control. This property is available in read-only.
WEBDEV - Server codeWEBDEV - Browser code

Height of controls in a form

In server code, the returned and modifiable height corresponds to the total height of the control (height of the caption plus height of the input area if the caption and the input area are one above each other).
In browser code, the returned and modifiable height corresponds to the height of the input area.

Limits

WEBDEV - Server code Limit for the reports
..Height cannot be used on a report or on a Check box control.
WEBDEV - Server code Limits for the controls
  • In Windows 98, the size of elements is limited to ± 32 767.
  • In Windows NT/2000, it is possible (but not recommended) to specify a size up to ± 2 147 483 647.
PHP ..Height is not available for iFrame controls.
WEBDEV - Server codePHP ..Height is available in read-only mode for Breadcrumb and Table controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment