PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Initial height (control and window)
  • 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
..MinHeight is used to find out and modify the minimum height of a control or window.
The minimum height of controls and windows is equal to 0 by default. However, some controls cannot be resized below the size of their border.
Reminder: The minimum height of a control or window is used during the following operations:
  • Window resized by the user.
  • Management of anchors.
  • Window resized by programming (..Height or WinSize).
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.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
Universal Windows 10 App This property is now available in Windows Store apps mode.
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
// Modify the minimum height of a control
EDT_Edit1..MinHeight = 200
EDT_Edit1..Height = 150
// In fact, the height of the control will be equal to 200
Syntax

Finding out the minimum height of an element Hide the details

<Current minimum height> = <Element name>..MinHeight
<Current minimum height>: Integer
Minimum height of specified element (including the border) expressed in pixels.
<Element name>: Character string (with or without quotes)
Name of element (window or control) whose minimum height will be calculated.

Modifying the minimum height of an element Hide the details

<Element name>..MinHeight = <New minimum height>
<Element name>: Character string (with or without quotes)
Name of element (window or control) whose minimum height will be modified
<New minimum height>: Integer
New minimum height of element (including the border) expressed in pixels.
Remarks

Initial height (control and window)

The initial height (described in the editor) is returned by ..InitialHeight.
In most cases, the element height depends on ..MaxHeight and ..MinHeight. However, this constraint disappears when the height is modified by programming (..Height or WinSize).

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