Adobe 38040334 API Reference - Page 150
resWin.getSelectedItem, resWin.setButtons, resWin.setCallbackCommands
![]() |
UPC - 883919090467
View all Adobe 38040334 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 150 highlights
DREAMWEAVER CS3 145 API Reference Returns The number of items in the list. resWin.getSelectedItem() Availability Dreamweaver 4. Description Retrieves the index of the selected item. Arguments None. Returns The index of the currently selected item. resWin.setButtons() Availability Dreamweaver 4. 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
![](/manual_guide/products/adobe-38040334-api-reference-b593776/150.png)