- Open the Window Painter.
- Click the New button. The Window Painter workspace displays.
- Select Window Style from the Design Menu. The Window Style window displays and include items in the menu to open sheets in the frame.
- Select the type of MDI frame you want to create: MDI Frame or MDI Frame with MicroHelp.
- Click the Menu check box and enter the name of a menu if you want to associate a menu with the frame. We recommend that you associate a menu with every MDI frame.
TIP: To build a menu for the frame, use the Menu Painter. 
- Click the OK button to return to the Window Painter workspace.
- Build scripts to open the sheets in the frame and to perform other processing if appropriate. The scripts can be triggered by events in the frame or in the menu items in the menu associated with the frame.
TIP: If you are building a custom frame, you must size the client area in the script for the Resize event in the frame window.
- Save and run the MDI window. If you attempt to leave the Window Painter without saving the window, PowerBuilder will prompt you to save it.
|