Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== Creating an MDI Child ====== MDI Child windows are those that reside within the MDI client area. MDI Child windows can be any OpenInsight form created for the current application. MDI Child windows are often created prior to creating the MDI frame. A feature of MDI child windows is that they do not contain menus. Menu functionality is provided by the frame. An MDI child is executed from the MDI frame with the BASIC+ function START_MDICHILD. - Choose //Edit the menu for this form// button {{MV_095.jpg}} from the //Toolbar//. The //Menu Builder// designer is displayed. {{MV_096.jpg?1024x606}} The first menu item is highlighted. Enter Customers in the Add listbox. Click the + button. Use the arrow buttons and indent buttons to place your menu item in the correct position. Choose //File, Save// from the //OpenInsight IDE//. {{MV_097.jpg}} Check the //Quick Event// check box. The //Quick Events// dialog box is activated. {{MV_098.jpg?1024x606}} Choose //Start an MDI child window// from QuickEvent Options. The EventAction Params value will be populated with default settings for the Start_MDIChild function. {{MV_099.jpg}} On the Specify Procedure Parameters//:// change //WinID// to ‘CUSTOMERS’ and //CreateParam// to null (‘’). Include the single quotes. {{MV_100.jpg}} Press the //OK// button. This will return you to the MDI Frame. Select //File//, //Save// from the //OpenInsight IDE//. Enter MVDEMO_MDI for the name of the form. {{MV_101.jpg}} {{MV_102.jpg}} Click the test run button {{MV_091.jpg}} from the Tool Bar. The following MDI Frame will display: {{MV_103.jpg}} Choose Customers from the File menu. The Customers data entry form will display: {{MV_104.jpg}} Your application now contains MDI capability. guides/bfs/mv/creating_an_mdi_child.txt Last modified: 2023/10/25 10:49by 127.0.0.1