closeactiveobject

The closeactiveobject statement closes any Text Editor or Word Processing object that is currently being edited.


Parameters

No parameters.


Description

This statement closes any Text Editor or Word Processing object that is currently being edited. If nothing is being edited, this statement does nothing. The closeactiveobject statement is equivalent to:

if info("activeobject") <> ""
    activeobjectaction "close"
endif

This example makes sure that editing is finished before saving the file.

closeactiveobject
save

See Also


History

VersionStatusNotes
1.0No ChangeCarried over from Panorama 6.0, but has been renamed (this was formuerly called the superobjectclose statement).