Data Access Getting Started > Additional Features > Creating the Control Window > Finishing the Control Window
 
Finishing the Control Window
For more practice, you can apply resources to the menu gadgets as described in the section Using Resources on page 100.
Note: You probably would not want to use the Fit to View... command, since the window will automatically take the size of the menu bar, which is too long for the number of menu items. See the section Setting the Size of the Window on page 103.
6. Attach the menu bar gadget to the window as described in the section Setting Attachments on page 107.
7. Change the background color of the window as described in the section Setting the Background of the Window on page 105.
Saving the Control Window
If you have not already saved the window, do so now by choosing Save As... from the File menu in the Main window. Give it the name control.ilv and save it in the directory in which you saved the .iva application file in the section Creating the Application File on page 51.
Adding the Control Window to the Application
Add the Control window to the employdb application by following the procedure described in the section Adding the Employee Window to the Application on page 113. Do not do steps 6 and 7 since you want the Control window to be visible when the application is launched.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.