closeactiveobject
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

- activeobjectaction
- changeobject
- changeobjects
- cloneform
- cloneobjects
- datamode
- graphicsmode
- info("activesuperobject")
- info("clickedobjectid")
- info("focusobject")
- info("focusobjectid")
- magnification
- Modifyable Object Properties
- newformobject
- object
- objectid
- objectinfo(
- objectinfoarray(
- objectnumber
- selectallobjects
- selectnoobjects
- selectobjects
- startgraphicschange

History

Version | Status | Notes
1.0 | No Change | Carried over from Panorama 6.0, but has been renamed (this was formuerly called the superobjectclose statement).