closeactiveobject

The closeactiveobject statement closes any object whose text is currently being edited.


Parameters

No parameters.


Description

This statement closes any object whose text 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
10.0No ChangeCarried over from Panorama 6.0, but has been renamed (this was formerly called the superobjectclose statement).