Progress
AppBuilder
Developer’s Guide


SmartWindows

SmartWindows are general-purpose, outer-level organizer objects. They have ADM Smart technology embedded in them, and can fully integrate other SmartObjects such as SmartDataObjects, SmartToolbars, and so forth. SmartWindows are members of the SmartContainer class. Unlike the other SmartContainer objects, a SmartWindow can serve as your application’s main window or as one of the windows in a multi-window design.

Note that a SmartWindow comes fitted with a Frame that covers the client area of the Window. The Frame should automatically resize as you resize the SmartWindow. You can also resize it separately, if you choose. You might wish to do that in order to have room for additional Frames. Besides providing the required context for widget placement, Frames also group widgets for traversal using the TAB key, and you might wish to define more than one such group. Note that, rather than re-sizing the default frame, you could instead add a new Frame for each separate traversal group, overlaying the default frame.

SmartWindows are file-level (external procedure) objects. Unlike the objects embedded in the Progress 4GL itself, objects defined by external procedures typically are complex. Such objects have a set of properties associated with their nature as a subprogram module, and additional sets—if they have a visible run-time representation—associated with whatever widgets they put up as their user interface. The sections below discuss these different properties and their meanings.


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