PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN

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 15 and later
Android This property is now available for Android applications.
New in version 15
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for 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 reports in 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 reports in 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 reports in iPhone/iPad applications.
Versions 20 and later
WINDEV MobileAndroidiPhone/iPad This property is now available for Table controls in Android and iPhone/iPad applications.
New in version 20
WINDEV MobileAndroidiPhone/iPad This property is now available for Table controls in Android and iPhone/iPad applications.
WINDEV MobileAndroidiPhone/iPad This property is now available for Table controls in Android and 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> = <Element used>..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.
<Element used>: Name of control, window or block
Name of the element (control, window or report block) whose initial height must be calculated.
WINDEVAndroidiPhone/iPadUniversal Windows 10 AppWindows MobileJava

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

<Control used>..InitialHeight = <New height>
<Control used>: Control name
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.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment