Use the Procedure Settings dialog to modify certain characteristics of a GUI Designer procedure, which is a special class of an OpenEdge procedure generated by the AppBuilder. AppBuilder procedures include window procedures, SmartObject masters, method libraries, structured includes, and structured procedures.
Access the dialog by clicking the Procedure Settings icon on the GUI Designer toolbar.
The Procedure Settings dialog includes the following options:
|Type||Displays the type of the selected procedure.|
|File Name||Displays the filename of the selected procedure.|
|Description||Displays a description of the selected procedure.|
|OCX Binary||Select a file to use as the OCX binary file.|
|Compile in||Select the directory where the GUI Designer saves the compiled (.r code) version of the current procedure file. By default, the compiled file is saved in the same directory as the procedure file.|
|External Tables||Displays the external tables associated with the procedure. You can modify this declaration.|
|Add/Modify||Displays the Table Selector dialog that allows you to add an external table to the current procedure.|
|Run Persistent from AppBuilder||Select this option to run the procedure persistently.
Note: You must deactivate this toggle for a SmartDialog and the main window of an application.
|AppServer Aware||Select this option for GUI procedures that need to run procedures on the AppServer. This generates at the top of the .w file an include file and declarations of AppServer handles that facilitate the execution of partitions defined in the Service Parameter Maintenance PRO*Tool. The include file registers adecomm/as-utils.w as a super procedure of the .w file. This makes the utilities appServerConnect and appServerDisconnect available to the procedure file.|
|Compile on Save||Select this option for the GUI Designer to automatically generate
the .r code file when compiling the current procedure. By default,
this option is selected for all new master files based on the basic
templates for windows, dialog boxes, and structured procedures.
Note: Activating this toggle improves AppBuilder performance when running SmartObjects, because the AppBuilder does not have to compile the master file to create an instance.
|Method Libraries||Opens the Method Libraries dialog that allows you to add, remove, or modify the procedure's method libraries.|
|Custom Lists||Opens the Custom Lists dialog box that allows you to change the names of the preprocessor lists.|
|Temp-Table Maintenance||Opens the Temp-Table Maintenance Dialog Box.|
|SmartLinks||Opens the SmartLinks dialog that allows you
to modify the SmartLinks associated with the selected procedure.
Note: This option is only available when working with a SmartObject procedure.
|Pages||Opens the Pages dialog that allows you to control on which page in the procedure is displayed.|
|Declarative Statements||Opens the Edit Declarative Statements dialog. Use this dialog to add statements (such as, USING and ROUTINE LEVEL ON ERROR UNDO, and THROW) that must come before any definition and executable statement for proper compilation. These statements are generated into a new section in the source code. This section is written before both the optional temp-table definitions and the optional AppServer include.|
|Advanced||Opens the Advanced Procedure Settings dialog that allows you to edit additional settings for the procedure.|
For more information, see GUI Designer toolbar