PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Limits for the controls and windows
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
..InitialHeight is used to:
  • Find out the creation height of a control or window.
    The creation height corresponds to the height defined in the window editor during the description of the object. This height can evolve and it can be modified. It is returned by ..Height.
  • Modify the base height used to anchor the controls "in height".
    When a control is anchored, the base height used to calculate how the control is resized according to the window is the height of the control defined during its creation (returned by ..InitialHeight).
    To modify the height of a control anchored in height, its initial height must also be modified.
  • Find out the creation height of a control or block in a report.
    The creation height corresponds to the height defined in the report editor during the description of the object. This height can evolve and it can be modified. This new height is returned by ..Height.
Versions 16 and later
Universal Windows 10 App This property is now available for the Windows Phone applications.
New in version 16
Universal Windows 10 App This property is now available for the Windows Phone applications.
Universal Windows 10 App This property is now available for the Windows Phone applications.
Versions 15 and later
Android This property is now available for the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for the reports in the iPhone/iPad applications.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for the reports in the iPhone/iPad applications.
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for the reports in the iPhone/iPad applications.
Versions 20 and later
WINDEV MobileAndroidiPhone/iPad This property is now available for the Table controls in the Android applications and in the iPhone/iPad applications.
New in version 20
WINDEV MobileAndroidiPhone/iPad This property is now available for the Table controls in the Android applications and in the iPhone/iPad applications.
WINDEV MobileAndroidiPhone/iPad This property is now available for the Table controls in the Android applications and in the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Increases the height of "STC_Title" by 30 millimeters
STC_Title..Height = STC_Title..InitialHeight + 30
// Restores the initial height of the control
EDT_Edit1..Height = EDT_Edit1..InitialHeight
// Enlarges TABLE_Table1 that is anchored in height by 30 pixels
TABLE_Table1..Height += 30
TABLE_Table1..InitialHeight += 30
Syntax

Finding out the creation height Hide the details

<Creation height> = <Object name>..InitialHeight
<Creation height>: Integer
Initial height of the specified object (including the border). 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 the object (control, window or report block) whose initial height must be calculated.
WINDEVAndroidiPhone/iPadWindows MobileUniversal Windows 10 AppJava

Modifying the initial height of a control anchored in height Hide the details

<Control name>..InitialHeight = <New height>
<Control name>: Character string (with or without quotes)
Name of the anchored control whose initial height must be modified.
<New height>: Integer
New initial height of the anchored control (including the border) expressed in pixels.
Remarks
WINDEVJavaUser code (UMC)

Limits for the controls and windows

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.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment