Introduction to PowerBuilder

HomePrevious Lesson: Child Window
Next Lesson: MDI Frame with MicroHelp

MDI Frame Window

A MDI Frame Window allows you to open multiple windows as sheets inside it. We will explain PowerScript in the coming sessions. For better understanding: Open() is the function that you need to call to open a window programmatically. As explained in "Main Window", when you use Open() function, the window behaves independently once open. If you open ten windows, it will look like they are ten different running applications. You feel as if all windows are independent and you can see Program Manager also.

You can use another function OpenSheet() which gives you the functionality of "developmental environment" of "PowerBuilder". When you first invoke PowerBuilder, you see a window, i.e. a PowerBuilder window. Within that you are opening all these painters. You can see that all these painters are open within the PowerBuilder window. You can't move a window outside the PowerBuilder window. When you close PowerBuilder window, all those painters that are open will close. In PowerBuilder terminology, all the windows that are open within the MDI window (in this example, PowerBuilder window it self), are called as "Sheets". Well, as a developer, we call them as painters. MS-Word is the good example for this.

When a window (sheet) inside the MDI Frame window minimizes, the minimized sheet icon is displayed at the bottom of the MDI Frame window.
HomePrevious Lesson: Child Window
Next Lesson: MDI Frame with MicroHelp