PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Internal window with automatic scrollbars
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
Specifies the useful size of an internal window with automatic scrollbars. The useful size corresponds to the full size of the internal window:
  • Width of internal window.
  • Height of internal window.
Scrollbars will be automatically displayed if the size of the control that contains the internal window is too small.
Note: This function is also used to specify the useful size of supercontrols with scrollbars.
Versions 16 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Versions 17 and later
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Example
sImage is string = SC_FilePicker.EDT_FILE
nWidth is int = ExtractString(BitmapInfo(sImage), 2)
nHeight is int = ExtractString(BitmapInfo(sImage), 3)

IW_Internal1.IMG_Image1 = sImage
IW_Internal1.IMG_Image1..Width = nWidth
IW_Internal1.IMG_Image1..Height = nHeight
WinUsefulSize(IW_Internal1, nWidth, nHeight)
Syntax
WinUsefulSize(<Internal Window> , <Width> , <Height>)
<Internal Window>: Character string (with or without quotes)
Name of the internal window.
<Width>: Integer
New width (in pixels) of the internal window.
<Height>: Integer
New height (in pixels) of the internal window.
Remarks

Internal window with automatic scrollbars

WinUsefulSize is used to dynamically resize the internal window displayed in an "Internal window" control. If necessary, the scrollbars may appear or disappear during this modification.
Notes:
  • ..Width and ..Height modify the external size of the Internal Window control (and not the size of the internal window that must be used in the control).
  • Versions 20 and later
    ..UsefulWidth and ..UsefulHeight are used to find out and modify the size of the internal window that will be used in the control.
    New in version 20
    ..UsefulWidth and ..UsefulHeight are used to find out and modify the size of the internal window that will be used in the control.
    ..UsefulWidth and ..UsefulHeight are used to find out and modify the size of the internal window that will be used in the control.
Android In Android, WinUsefulSize modifies the dimensions of the loaded internal window (without applying the anchoring).
Components
WINDEVReports and Queries wd230obj.dll
Java wd230java.jar
Linux wd230obj.so
Android wd230android.jar
Minimum required version
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment