ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The UsefulHeight property gets and sets the useful height of an internal window (or supercontrol) with scrollbars.
The useful size corresponds to the full size of the internal window:
  • Width of internal window.
  • Height of internal window.
Note: This property is also available for windows.
Example
SC_Superchamp1.Hauteur = 320
SC_Superchamp1.HauteurUtile = 2000
Syntax

Finding out the useful height of an element Hide the details

<Current useful height> = <Element used>.UsefulHeight
<Current useful height>: Integer
Useful height of the element expressed in pixels.
<Element used>: Window name or control name
Name of the element (internal window or supercontrol) to use.

Modifying the useful height of an element Hide the details

<Element used>.UsefulHeight = <New useful height>
<Element used>: Window name or control name
Name of the element (internal window or supercontrol) to use.
<New useful height>: Integer
New useful height of the element expressed in pixels.
Remarks
  • The anchors are applied relative to the useful size and therefore are modified if the useful height is modified.
  • If the useful height is greater than the height of the internal window (or supercontrol), a scrollbar is displayed.
  • If the useful height is smaller than the height of the internal window (or supercontrol), the useful height is ignored.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help