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
PageRateDDW (Function)
In French: PageTauxGFI
Allows you to find out and modify the rate of gray for the pages that use DDW (Dim disabled pages).
Versions 16 and later
PHP This function is now available for the PHP sites.
New in version 16
PHP This function is now available for the PHP sites.
PHP This function is now available for the PHP sites.
Example
PageActivateDDW(True)
PageRateDDW(40)
YesNo("Do you want to exit?")
PageActivateDDW(False)
Syntax

Finding out the rate of gray Hide the details

<Result> = PageRateDDW()
<Result>: Integer
Current rate of gray (between 0 and 100). The default rate of gray is set to 60%.

Modifying the rate of gray Hide the details

<Result> = PageRateDDW(<Rate of Gray>)
<Result>: Integer
Rate of gray before modification (between 0 and 100).
<Rate of Gray>: Integer
New rate of gray (between 0 and 100).
The maximum value (100) will be used if the specified value is greater than 100.
PageRateDDW will have no effect if a value less than 0 is specified. The default rate of gray is set to 60%.
Remarks
  • To enable the DDW feature on the pages, use PageActivateDDW.
  • The value used in the browser code is initialized by the value given in the server code. The modifications performed in browser code are not carried over in server code.
Components
WEBDEV - Server code wd230page.dll
WEBDEV - Browser code WDJS.DLL
Linux wd230page.so
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment