User Guide
Results window functions 189
Description
Sets the buttons specified by the arrButtons argument.
Arguments
cmdDoc, arrButtons
■ The cmdDoc argument is a document object that represents the command that is calling
the function. Commands should use the keyword
this.
■ The arrButtons argument is an array of strings that correspond to the button text and
the JavaScript code to execute when the button is clicked. This is similar to the way the
commandButtons() function works for commands. Only two buttons can be set in the
window.
Returns
Nothing.
resWin.setCallbackCommands()
Availability
Dreamweaver 4.
Description
Tells the Results window on which commands to call the processFile() method. If this
function is not called, the command that created the Results window is called.
Arguments
arrCmdNames
■ The arrCmdNames argument is an array of command names on which to call the
processFile() function.
Returns
Nothing.
resWin.setColumnWidths()
Availability
Dreamweaver 4.
Description
Sets the width of each column.
000_DW_API_Print.book Page 189 Wednesday, July 20, 2005 11:58 AM