
258 Reports
Example
The following instance of the commandButtons() function defines the OK, Cancel, and Help
buttons.
function commandButtons(){
return new Array("OK" , "doCommand()" , "Cancel" , ¬
"window.close()" , "Help" , "showHelp()");
}
configureSettings()
Availability
Dreamweaver 4.
Description
Determines whether the Report Settings button should be enabled in the Reports dialog box
when this report is selected.
Arguments
None.
Returns
Dreamweaver expects a Boolean value: true if the Report Settings button should be enabled;
false otherwise.
windowDimensions()
Availability
Dreamweaver 4.
Description
Sets specific dimensions for the Parameters dialog box. If this function is not defined, the
window dimensions are computed automatically.
Arguments
platform
■ The value of the platform argument is either "macintosh" or "windows", depending on
the user’s platform.
NOTE
Do not define this function unless you want an Options dialog box that is larger than
640 x 480 pixels.
Komentáře k této Příručce