PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..UsefulHeight is used to find out and modify the useful height of an internal window, window or supercontrol with scrollbars.
The useful size corresponds to the full size of the internal window:
  • Width of the internal window.
  • Height of the internal window.
Versions 20 and later
Note: This property is also available for the windows.
New in version 20
Note: This property is also available for the windows.
Note: 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 name>..UsefulHeight
<Current Useful Height>: Integer
Useful height of the element expressed in pixels.
<Element name>: Character string (with or without quotes)
Name of the element (internal window or supercontrol) to use.

Modifying the useful height of an element Hide the details

<Element name>..UsefulHeight = <New Useful Height>
<Element name>: Character string (with or without quotes)
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