Advanced PowerBuilder

HomePrevious Lesson: MDI Concepts
Next Lesson: Frame

MDI Basics

In a MDI application, there is a main window (not to be confused with PowerBuilder window, of type Main), and other windows or sheets opened within it. This main window can have one of two PowerBuilder window styles: MDI Frame or MDI Frame with MicroHelp.

Typically, PowerBuilder windows of type 'Main' are opened in MDI Frame as sheets.

Generally, MDI window has a status bar for displaying MicroHelp and menu bar. This menu bar is displayed until a sheet is opened in the window. If the opened sheet has an associated menu, PowerBuilder replaces the menu associated with the MDI window with the sheet's menu. When a sheet is active, the rest of the sheets are deactivated and the title bars of those sheets are grayed out. If there isn't a menu attached to a sheet, the menu associated with the MDI frame remains displayed and is active for that sheet.

The MDI frame window has three parts:

HomePrevious Lesson: MDI Concepts
Next Lesson: Frame