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
..UsefulWidth is used to find out and modify the useful width 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.
Example
SC_Supercontrol1..Width = 320
SC_Supercontrol1..UsefulWidth = 2000
Syntax

Finding out the useful width of an element Hide the details

<Current Useful Width> = <Element name>..UsefulWidth
<Current Useful Width>: Integer
Useful width of 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 width of an element Hide the details

<Element name>..UsefulWidth = <New Useful Width>
<Element name>: Character string (with or without quotes)
Name of the element (internal window or supercontrol) to use.
<New Useful Width>: Integer
New useful width of the element expressed in pixels.
Remarks
  • The anchors are applied in relation to the useful size and therefore they are modified if the useful width is modified.
  • If the useful width is greater than the width of the internal window (or supercontrol), a scrollbar is displayed.
  • If the useful width is smaller than the width of the internal window (or supercontrol), the useful width is ignored.
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment