Building an MDI Frame
\The Sandbox \PB History & Future \New in PB 2 \Painter Features \MDI Windows \Building an MDI Frame
About
MDI Windows
Arranging
Sheets
Building an
MDI Frame
Listing
Open Sheets
Maximizing
Sheets
Opening Sheets
Sizing the
MDI Client Area
Specifying
MicroHelp Text
Tabbing and 
Shortcut Keys
  1. Open the Window Painter.
  2. Click the New button.  The Window Painter workspace displays.
  3. Select Window Style from the Design Menu.  The Window Style window displays and include items in the menu to open sheets in the frame.
  4. Select the type of MDI frame you want to create: MDI Frame or MDI Frame with MicroHelp.
  5. 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.
  6. TIP:   To build a menu for the frame, use the Menu Painter. 

  7. Click the OK button to return to the Window Painter workspace.
  8. 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.
  9. 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.

  10. 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.
PBL Peeper PB Help PB History
& Future About Us Feedback Site Map

Google
 
Web www.techno-kitten.com
www.sybase.com