PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • 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.
Remark: This function is also used to specify the useful size of supercontrols with scrollbars.
Example
sImage est une chaîne = SC_SelecteurFichier.SAI_FIC
nLargeur est un entier = ExtraitChaîne(InfoBitmap(sImage), 2)
nHauteur est un entier = ExtraitChaîne(InfoBitmap(sImage), 3)
 
FI_Interne1.IMG_Image1 = sImage
FI_Interne1.IMG_Image1.Largeur = nLargeur
FI_Interne1.IMG_Image1.Hauteur = nHauteur
FenTailleUtile(FI_Interne1, nLargeur, nHauteur)
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.
Remarks:
  • The Width and Height properties change the outer size of the control Internal Window, 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 modify 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 modify the size of the internal window to be used in the control.
    The UsefulWidth and UsefulHeight properties are used to get and modify the size of the internal window to be used in the control.
Component: wd260obj.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment