Allows you to find out and modify the rate of gray for the pages that use DDW (Dim disabled pages).
PageActivateDDW(True)
PageRateDDW(40)
YesNo("Do you want to exit?")
PageActivateDDW(False)
Syntax
<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.