ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Web-specific functions / Page functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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).
Example
PageEnableDDW(True)
PageRateDDW(40)
YesNo("Voulez vous sortir ? ")
PageEnableDDW(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 PageEnableDDW.
  • The value used in browser code is initialized by the value specified in server code. Changes made in browser code are not propagated to server code.
Component: wd300page.dll
Minimum version required
  • Version 12
Comments
Click [Add] to post a comment

Last update: 09/10/2024

Send a report | Local help