Progress
AppBuilder
Developer’s Guide
File Menu
The File menu allows you to create, open, save, and print procedure files, as shown in Table 2–1.
File
New
Opens the New dialog box. After you choose the object or component you want to create, AppBuilder reads in the appropriate template. A template is an incomplete procedure file for an object. After loading the template, AppBuilder will take some further, template-specific action:
- Windows, dialog boxes, and outer-level frames: AppBuilder opens a design window or workspace where you assemble and arrange the widgets that will make up your application’s user interface. AppBuilder also opens a workspace if you choose Simple SmartObject, since the majority of SmartObjects will have a visible representation.
When designing WebSpeed applications, you do not work with a design window. See the Getting Started with WebSpeed tutorial for an overview.
- SmartObjects based on a master: AppBuilder starts the design wizard for that class of object. After the design wizard runs to completion, you will have a fully defined SmartObject master that you will normally save to disk.
- Procedure, include file, or methods library: AppBuilder opens two windows. One shows a tree view of the editable sections of that file type, and the other displays the built-in source-code section editor with a code stub for the current section type.
File
Open
Opens an existing object file and displays its associated design window or tree view. If AppBuilder cannot determine how to present the file in a better way, it will use a procedure window.
You can also drag and drop a file from the Windows Explorer or desktop to the AppBuilder main window. AppBuilder opens the file according to type, and prompts you to connect to any necessary databases.
File
Save
Saves the current procedure file locally or remotely, according to your current development mode. AppBuilder prompts you for a filename only if you have not saved this file before.
File
Save As
Opens the Save As dialog box for the current procedure file. Normally you would Save As in order to change the filename, but you can Save As to the original filename if you wish.
File
Save All
Immediately performs a Save on all open files being maintained by AppBuilder.
Newly-created files are saved locally or remotely according to the Development Mode setting. Previously-existing files are saved to the locations from which they were opened, regardless of the Development Mode setting.
CAUTION: You must perform individual Saves on any files that AppBuilder opens in a Procedure Editor window rather than a Section Editor window. Use of the Procedure Editor means that AppBuilder does not maintain the file.File
Prints the source code of the current structured-procedure file, not the currently selected object specifically. If you clear the Use Print Dialog Box option in the Preferences dialog box, the file is printed to the default printer immediately, without further prompting.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |