The Save dialog is presented when the item Save is selected from the File menu, or when the Yes option is selected from the Exit dialog. This dialog contains different options depending on whether the Screen Painter was invoked by WINDOW DEFINE, MENU DEFINE, FORM DEFINE or DISPLAY DEFINE. For each savable object, the dialog presents a row of fields consisting of the object's Name, Directory, Object Tag, and a Save check box for selecting the object for saving. If an object has not been modified since the beginning of the Screen Painter session, or since the last Save operation, then these fields are unavailable except for the Save check box that is cleared. If the object has been modified, then the Name and Directory fields are guarded, the Tag field and Save check box are available, and the Save check box is checked. Guarded means that the data can be scrolled within the field if the data content exceeds the dimensions of the field, but the data content cannot be modified. In other words, the name and directory of objects cannot be changed. If you want to change the name and/or the directory of one or more objects, see the Save As dialog.
The objects that are saved are those for which the Save check box is checked.
Under WINDOW DEFINE, there is only one object available to be saved: the paint window. The Save dialog presents the option for saving this object alone.
Under MENU DEFINE, there are two objects available to be saved: the window and the menu. The Save dialog presents the option for saving either or both objects. If both objects are selected for saving, then an association is established between the window and menu object such that subsequent invocations of MENU DEFINE for the menu object automatically causes the associated window to be loaded as the paint window.
Under FORM DEFINE, there are always at least two objects available to be saved: the window and the form. If a menu has been defined, then this object is also available to be saved. The Save dialog presents the option for saving any combination of these objects. If the window object is selected for saving, then an association is established between the window and either the form, the menu, or both the form and the menu, such that subsequent invocations of FORM DEFINE for the form object automatically causes all the associated objects to be loaded.
Under DISPLAY DEFINE, there are always at least two objects available to be saved: the window and the display. If a menu has been defined, then this object is also available to be saved. The Save dialog presents the option for saving any combination of these objects. If the window object is selected for saving, then an association is established between the window and either the display, the menu, or both the display and the menu, such that subsequent invocations of DISPLAY DEFINE for the display object automatically cause all associated objects to be loaded.