Overview > General Procedures > How to Create a New Instance of a Panel Class
 
How to Create a New Instance of a Panel Class
1. Choose Edit Application from the Window menu. You will notice that the Buffer type changes to Application.
2. Click and drag the required panel class icon from the Panel Classes palette to the application buffer. The instance appears as a window in the Application buffer. This operation adds a new instance of the panel class to the application.
3. To edit the panel properties (name, title, size, and so on), double-click the title bar of the panel instance. The Panel Instance inspector appears for you to edit.
The Destroy Callback menu in the General page of the Panel Inspector allows you to define what will happen when you close your panel with the system window manager:
Exit  Quit the application.
Hide  Hide the panel.
None  Nothing happens.
Click Apply to validate your changes, then click Close.
4. Repeat the steps in the section How to Integrate Panels into an Application and How to Create a New Instance of a Panel Class for each of the panels you created for your application.

Version 5.7
Copyright © 2013, Rogue Wave Software, Inc. All Rights Reserved.