PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
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 PHP sites.
New in version 16
PHP This function is now available for PHP sites.
PHP This function is now available for PHP sites.
Example
PageActivateDDW(True)
PageRateDDW(40)
YesNo("Do you want to exit?")
PageActivateDDW(False)
Syntax

Getting the dimming rate Hide the details

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

Changing the dimming rate Hide the details

<Result> = PageRateDDW(<Dimming rate>)
<Result>: Integer
Initial dimming rate (between 0 and 100).
<Dimming rate>: Integer
New dimming rate (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.
Component: wd270page.dll
Minimum version required
  • Version 12
Comments
Click [Add] to post a comment