Progress
AppBuilder
Developer’s Guide
Advanced Procedure Settings
AppBuilder uses the same Advanced Procedure Settings dialog box for all procedure level objects. Some of the fields might not apply to a particular object type, either because the qualities are predefined and fixed, or because they are entirely irrelevant.
You invoke this dialog box by choosing the Advanced button in the Procedure Settings dialog box.
NOTE: If you close the Advanced Procedure Settings dialog box by clicking OK, you will always be shown a message box reminding you to include all needed method libraries. This is true even if you have only inspected the settings. If you have made no changes you want to save, you can avoid this message by clicking Cancel instead of OK.Figure A–2 shows the dialog box with the options that are enabled for SmartDialog objects.
Figure A–2: Advanced Procedure Settings Dialog Box
![]()
Clockwise from the top, the options are:
- Procedure Type — AppBuilder sets this by default to match the object type. In other words, when you open this dialog box for a SmartWindow, you will see "SmartWindow" listed here. If you wish, you can select a procedure type different to the object type, for example a SmartDataBrowser procedure for a SmartWindow type. For more information, see the Progress ADM 2 Guide .
- Supported SmartLinks — Lists the SmartLink types an object knows how to handle as originator, recipient, or both. As shown in Figure A–2, a SmartDialog can handle either end of a Data or Update link, and knows how to be on the receiving end of a Page link.
You can add additional link types to this list, if you are prepared to write the code to support them. For further information, see the Progress ADM 2 Guide .
- File Type —Determines the filename suffix when the file is saved. For SmartObject sources, this is always .w.
- Template — Normally cleared. Checking this box causes certain information in the file to be automatically stripped out before saving, making the file more generic. If left unchecked, the file is saved as a master file rather than a template.
- Add Fields to — Determines where database fields will be added: to the Frame Query, the procedure's external table, if any, or to neither. Generally you should not alter the default setting, which is Frame Query.
- Run Option: Persistent Only — Normally set. When set, any attempt to run the object nonpersistently fails with an error message. This is true of all SmartObjects except the SmartDialog.
- Allow Drawing of — Determines what sort of objects can be made children of this object. If you clear, for example, the Basic Objects box, AppBuilder will refuse to allow you to place basic 4GL objects onto this workspace. You will be able to choose a 4GL object tool from the Objects Palette, but not release such objects onto the workspace.
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |