Enabler
See "dreamweaver.resultsPalette.canSelectAll()" on page 459.
Creating a stand-alone results window
The
dreamweaver.createResultsWindow()
dreamweaver.createResultsWindow()
Availability
Dreamweaver 4.
Description
Creates a new Results window and returns a JavaScript object reference to the window.
Arguments
strName, arrColumns
• The
argument is the string to use for the window's title.
strName
• The
argument is an array of column names to use in the list control.
arrColumns
Returns
An object reference to the created window.
resWin.addItem()
Availability
Dreamweaver 4.
Description
Adds a new item to the Results window.
Note: Use only on stand-alone results windows created with
function cannot be used with the built-in results windows, including Validation, Browser Compat-
resWin.addItem()
ibility Check, or Site Reports.
Arguments
resultWindowObj, strIcon, strDesc, itemData, iStartSel, iEndSel, colNdata
• The
resultWindowObj
• The
argument is a string that specifies the path to the icon to use. To display a built-in icon, use a value
strIcon
"1" through "10" instead of the fully qualified path of the icon. Specify
shows the icons that correspond to the values of "1" through "10":
• The
argument is a detailed description of the item. Specify
strDesc
function, creates a results window.
argument is the object that the
"dreamweaver.createResultsWindow()" on page
createResultsWindow()
(zero) for no icon. The following table
if there is no description.
DREAMWEAVER CS3
API Reference
143. The
function returns
.
143