Thank you for your interest in the PowerFrame product line. We are certain that you will find the Application Framework demonstrated here a valuable asset when you are developing PowerBuilder applications. Other MetaSolv Software products that you may find add to your productivity include: - Application Security Library - TabFolder Object - Navigator Object - Object Analyzer - Multimedia Object If you have any questions or comments or would like information on other PowerFrame products that are available, please contact MetaSolv Software at: MetaSolv Software, Inc. 14900 Landmark, Suite 530 Dallas, TX 75240 Phone: (214) 239-0623 ext. 120 Fax: (214) 239-0653 Using the Sample Application The application menu is organized in a manner to provide easy visibility to the demonstrated features and functionality. CLASSES The Classes menu option provides examples of some of the Framework Library's inheritable window classes. Each class has a Feature/Description window to help you navigate through the functionality provided. Each class incorporates the standard user objects and functions. OBJECTS The Objects menu option is designed to highlight some of the custom objects and PowerBuilder extensions that are provided by the Application Framework Library. Instructions for how to demo these objects are given under the respective topic heading: Report Manager - The Report Manager is used to present a consistent front-end to your application's reports. First, open the report library file, PFREPORT.PBL. From the drop down listbox, select one of the reports. This enables you to build a one-size-fits-all report and centralize the selection criteria. The report manager also enables the user to run the report on an as-needed basis, preview the report, filter and sort the report as desired, page through the report and even save the report in another supported file format. Error Handler - The Error Handler provides a centralized mechanism for managing and using error messages. Select the menu option Objects, Error Handler. The list of available error messages is diplayed. Doubleclick on one of the error messages. The Error Information maintenance window appears. The Error Handler is actually delivered as a mini-application which you will attach to your PowerBuilder toolbar. When scripting error messages, instead of typing MessageBox("Result", "MessageText", Exclamation!, OKCancel!, 2) and hoping concurrent developers are consistent in their message presentation, you can type f_errorhandler(errornum)! This function displays the appropriate message box complete with title, text, commandbutton set and icon and logs the error's occurrence. Close the Error Handler's windows. Let's make an error happen and then go review the log. Reopen the Error Handler list window. Select File, New From without select a row. You should receive an error message. Select OK. Close the list window. Select Objects, View Error Log. Scroll to the bottom--you should see the current date and time and the error you just made!