PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Internal window with automatic scrollbars
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
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.
Remark: 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 WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 17 and later
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
Android This function is now available for Android applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Android This function is now available for Android applications.
iPhone/iPad This function is now available for 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>: Window name
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 allows to dynamically change the size of the internal window displayed in an "Internal Window" control.. If necessary, the scrollbars may appear or disappear when the size is changed.
Remarks:
  • The Width and Height properties change the outer size of the Internal Window control, not the size of the internal window to be used in the control.
  • Versions 20 and later
    The UsefulWidth and UsefulHeight properties are used to get and change the size of the internal window to be used in the control.
    New in version 20
    The UsefulWidth and UsefulHeight properties are used to get and change the size of the internal window to be used in the control.
    The UsefulWidth and UsefulHeight properties are used to get and change the size of the internal window to be used in the control.
Android In Android, WinUsefulSize changes the dimensions of the loaded internal window (without applying the anchors).
Component: wd270obj.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment