Adobe Extending Dreamweaver CS4 Manual do Utilizador Página 206

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 387
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 205
200
EXTENDING DREAMWEAVER CS4
Reports
Description
Defines the buttons that should appear on the right side of the Options dialog box and their behavior when they are
clicked. If this function is not defined, no buttons appear, and the body section of the report file expands to fill the
entire dialog box.
Arguments
None.
Returns
Dreamweaver expects an array that contains an even number of elements. The first element is a string that contains
the label for the topmost button. The second element is a string of JavaScript code that defines the behavior of the
topmost button when it is clicked. The remaining elements define additional buttons in the same manner.
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.
Note: Do not define this function unless you want an Options dialog box that is larger than 640 x 480 pixels.
Vista de página 205
1 2 ... 201 202 203 204 205 206 207 208 209 210 211 ... 386 387

Comentários a estes Manuais

Sem comentários