ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The UsefulHeight property is used to get and change 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.
Remark: This property is also available for the windows.
Example
SC_Supercontrol1.Height = 320
SC_Supercontrol1.UsefulHeight = 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/26/2022

Send a report | Local help