PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Initial height (control and window)
  • 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
The Property HeightMax allows to know and modify the maximum height of an control or a window.
By default, the maximum height:
  • of a control is equal to 2 147 483 647 (0x7FFFFFFF). This value is equivalent to "no maximum size limit".
  • of a window is equal to 20 000. However, the size of windows should not exceed the size of the screen.
Reminder: The maximum height of a control or window is used during the following operations:
  • Window resized by the user.
  • Management of anchors.
The maximum height of a control or window is not used when the window is resized by programming (Height or WinSize).
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 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 maximum height of a control
SAI_Saisie1.HauteurMax = 200
Syntax

Finding out the maximum height of an element Hide the details

<Current maximum height> = <Element used>.MaxHeight
<Current maximum height>: Integer
Maximum height of specified element (including the border) expressed in pixels.
<Element used>: Control name or window name
Name of element (window or control) whose maximum height will be calculated.

Modifying the maximum height of an element Hide the details

<Element used>.MaxHeight = <New maximum height>
<Element used>: Control name or window name
Name of element (window or control) whose maximum height will be modified.
<New maximum height>: Integer
New maximum 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.
The height of an object is normally constrained by the properties MaxHeight and MinHeight. However, this constraint disappears when the height is modified by programming (Height or WinSize).
Java

Limits

The Property MaxHeight applies only to the following items:
  • Button.
  • Libellé.
  • Edit control.
  • Image.
  • Check Box.
  • Radio Button.
  • List Box.
  • Combo Box.
  • TreeView.
  • Tab.
  • Table.
  • Supercontrols.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment