The Next Step [ HP ALLBASE/4GL Developer Self-Paced Training Guide ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Self-Paced Training Guide
The Next Step
The data manipulation components of this application are now complete.
With the logic you have created, you should be able to use the
application to add, delete, and modify product records according to
processing rules for the application.
There are a few small things you must do before you can run the
application. You must alter the main menu so that you can call up the
product_scrn screen in the correct update mode, and you must create the
messages that the logic blocks call.
Follow these instructions now to alter the main menu.
Altering the Main Menu
Painting the Screen Again.
This is what the main menu will look like when you have repainted it.
Altered Main Menu for Training Application
To alter the main menu:
1. Call up the main menu in the screen painter.
2. Delete the Product Details action item.
Remember that to delete an item, you use the Delete function key
from the Layout Keys function key set.
3. Change the Product Report text to read Report.
If this action item doesn't exist on your main menu, refer to
chapter 6, lesson 13 and follow the instructions for adding it to
the menu.
4. Add the following action items.
Where you place them on the screen is up to you. The screen image
above is one suggested format for the menu.
Type Name Text
F (function) prod_add Add
F (function) prod_modify Modify
F (function) prod_delete Delete
5. When you have defined these items, exit from the painter.
HP ALLBASE/4GL saves the menu as you exit.
MPE/iX 5.0 Documentation