Release 10.1A: OpenEdge Development:
Progress 4GL Handbook

> ## Creating a new procedure and window

> This section describes how to create a new sample procedure and window.

> | To create the window that holds all the other objects:

> 1. Click the New icon on the toolbar or select File New from the menu.

> 2. From the New dialog box, select the option that is just called Window, then click OK:

> A design window appears for you to work with:

> You can resize the design window by grabbing one corner with the mouse and moving it.

> Think of this window as corresponding to the new Progress 4GL procedure you will write. The code in that procedure, most of it generated by the AppBuilder, creates the window at run time, along with all the other objects it contains. A single 4GL procedure could certainly create multiple windows, but it is good to begin thinking in terms of a single procedure creating and managing a single visual object, whether it is a window or, later on, an intelligent version of one of the objects inside the window. This is the recommended way to structure your applications. It provides the framework you need to manage things easily.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095