PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
BrowserWidth (Function)
In French: NavigateurLargeur
Returns the width (in pixels) of the client area where the page is displayed.
Example
// If there is not enough available size.
IF BrowserWidth() < 500 THEN
...
END
Syntax
<Result> = BrowserWidth()
<Result>: Integer
  • In Zoning mode, corresponds to the width of client area in pixels.
  • In "Responsive Web Design", corresponds to the width (in pixels) of the current blade in a page.
Remarks
  • This width includes the possible scrollbars.
  • For a page displayed in an "iFrame" control, the returned width is the one corresponding to the dimension of the iFrame control.
Components
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 22
Comments
Click [Add] to post a comment