beautypg.com

Dreamweaver.canshowfinddialog(), Dreamweaver.canundo(), Dreamweaver.canzoom() – Adobe Dreamweaver API Reference CS5 User Manual

Page 515

background image

510

DREAMWEAVER API REFERENCE

Enablers

Last updated 8/27/2013

dreamweaver.canShowFindDialog()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a Find operation.

Arguments
None.

Returns
A Boolean value that is

true

if a Site panel or a Document window is open. This function returns the value

false

when

the selection is in the

HEAD

section.

dreamweaver.canUndo()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform an Undo operation in the current context.

Arguments
None.

Returns
A Boolean value that indicates whether any operations can be undone.

dreamweaver.canZoom()

Availability
Dreamweaver 8.

Description
Checks to see if there is an active Design view or Live view, which means that basic zoom commands can be applied.

Arguments
None.

Returns
A Boolean value:

true

if there is an active Design view;

false

otherwise.