




The "Object" menu always appears as the left most menu in a WinBase's
menubar. The "Object" menu for each object is used to perform file
based actions on the object itself. Many of these actions involve the
use of a file requester dialog. See section 7.19 File Requester. These
actions on the object can also be called through css (e.g., the Print
action can be called from css as `object.Print()'). The "Object"
menu has the following menu actions:
Load
-
Load a text object dump of an object of the same class as this object on
top of this object, replacing the values of fields of this object with
the values of the saved object's fields. The saved object file is
selected with the file requester.
Save
-
Save a text object dump of this object in a file created with the file
requester, or with the object's most recently used filename for saving.
SaveAs
-
Save a text object dump of this object in a -new- file
created with the file requester.
Edit
-
The Edit menu action brings up an Edit Dialog on the object.
See section 7.6 The Edit Dialog.
Close
-
The Close menu action will attempt to close/delete the object.
If the object is referenced or pointed to by other objects, then
it will not actually be deleted, only the windows which display
it will be removed. The user must confirm the deletion if it
is possible to safely delete the object.
Print
-
The Print menu action will save a snapshot of the object's window
to a file in Postscript format using a file requester
Print Data
-
The Print data menu action will save a snapshot of the window's data,
not including the menubars and window decoration, to a file in
Postscript format using a file requester
Update Menus
-
If objects are created or deleted, sometimes the menus of their parent
objects can become out of date. If this appears to be the case then
use the "update menus" menu action on the parent object to fix the menus.
The "update menus" menu action recursively traverses the menus of the
object and its subobjects, adding and deleting menu items appropriately.




