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
Returns the number of the blade displayed in a page in Responsive Web Design mode.
Example
// If the displayed blade is the "Tablet" blade
IF BrowserBlade() = 2 THEN
...
END
Syntax
<Result> = BrowserBlade()
<Result>: Integer
Number of current blade.
Note: If the page is not using the Responsive Web Design mode, <Result> is set to 1.
Remarks
  • The number of default blade is 1.
  • Then, the blade number is incremented for each following blade:
    • If the default blade is the "Desktop" blade, the blade numbers are incremented from the widest blade ("Desktop" blade) to the narrowest blade ("Mobile" blade).
    • If the default blade is the "Mobile" blade, the blade numbers are incremented from the narrowest blade ("Mobile" blade) to the widest blade ("Desktop" blade).
Components
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 22
Comments
Click [Add] to post a comment