Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 3 of 12

EZBuilder Tutorial, pages 21 to 30

Pages 21 to 30 of 114

The original document is the PDF (3.0 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

Filed in the catalog under the Intermec 2420, Intermec 2425 and Intermec 2481

Page 21

2 Creating Menus

Page 22

df

Page 23

Creating Menus

2

This chapter describes how to create menus and begins the tutorial that provides an easy way for you to learn the basic features of EZBuilder.

Getting Started The first time you start EZBuilder, the Viewport and Object Manager screens appear. If each of these screens is blank (as shown below), go to “Exercise 1: Creating the Main Menu” to begin the tutorial. If these screens do not appear as shown below, you have opened an existing application. Select New Application from the File menu to clear EZBuilder, and then go to “Exercise 1: Creating the Main Menu” to begin the tutorial.

Exercise 1: Creating the Main Menu When you start a new application in EZBuilder, you can create either a menu or a screen. In this tutorial exercise, you will create a main menu. To create the Main Menu 1. Choose New Menu from the File menu. The New Menu default values appear in the Object Manager.

2-3

Page 24

EZBuilder Tutorial

2. The default menu name, Menu0, is shown in the Name field in the Object Manager. Rename the menu by selecting Menu0 and typing MainMenu. Note: You cannot use spaces in object names.

To create a screen identification label 1. Choose Add Label from the File menu. The label appears as two dots in the Viewport, and its default values appear in the Object Manager. Note: All new objects appear as dots in the Viewport.

2-4

Page 25

Creating Menus

2

2. Type Main Menu in the Caption field. The label automatically widens to accommodate the length of the caption, and the change appears in the Viewport.

3. In the Object Manager, change the Row value to 1 and the Column value to 6 to center the Main Menu label.

4. Click the Display Attribute field to activate it. A down arrow appears.

2-5

Page 26

EZBuilder Tutorial

5. Click the down arrow in the Display Attribute field. A pop-up list appears.

6. Select BOLD from the pop-up list. The label appears in bold in the Viewport.

To create a box around a label 1. Select the label in the Viewport, and click Add Draw Box from the File menu. The box appears in the Viewport, and its default values appear in the Object Manager.

2-6

Page 27

Creating Menus

2

2. In the Object Manager, change the Row value to 0, the Column value to 4, the Height in Rows value to 3, and the Width in Columns value to 13. The box appears around the Main Menu label in the Viewport.

At this point, you have created • an empty application named “Default.”

• a menu named “MainMenu” that contains a label but no menu items.

Before moving on to Exercise 2 in this tutorial, you should save your application. To save your application 1. Choose Save Application As from the File menu. The Save default As dialog box appears.

2. Choose a drive for your application in the Save in field, and type a name for your application in the File name box. Click OK. The Confirm dialog box appears asking if you want to continue even though the MainMenu is empty.

3. Click Yes. The file is saved.

2-7

Page 28

EZBuilder Tutorial

Congratulations! You have completed Exercise 1. Continue with Exercise 2 to create menu items.

Exercise 2: Creating Menu Items for User Options The main menu of your application should include a number of command options that allow your users to choose between operations. For example, a menu item can bring up • another menu.

• a screen where data is entered.

• a screen where help text is reviewed.

When creating a menu item, look at the Viewport and think about where you want to put an item (Row, Column), what you want to call it (Caption), and any function key (Activation Key) or string (String to Activate) that will be used to cause an action.

Creating a Menu Item In this exercise, you will create three menu items for your Main Menu. You will then set the properties and actions of those items. The first menu item you create will bring up the online help screen when users press F1. You will first set the Activation Key, which tells EZBuilder which key stroke will bring up the screen; then you will set the Call Screen, which tells EZBuilder which screen to bring up when the Activation Key is pressed. To create a menu item 1. Click the Object List down arrow. A drop-down menu appears. 2. Choose Menu: Main Menu. The Main Menu appears in the Viewport. 3. To create a new menu item, choose Add Menu Item from the File menu. A blank menu item appears in the upper left corner of the Viewport, and the New Menu Item default values appear in the Object Manager.

2-8

Page 29

Creating Menus

2

4. Change the Row value of the new menu item to 4, and change the Column value to 2. The blank menu item moves to the new location in the Viewport.

5. Type “F1 - Help” in the Caption field. This caption tells users that F1 will bring up the help screen. The change appears in the Viewport.

6. Type “F1” in the Activation Key field. The Activation Key is the key that will bring up a particular screen.

2-9

Page 30

EZBuilder Tutorial

7. Type “MM_Help” in the Call Screen field. The Call Screen is the screen EZBuilder will call when the key specified in the Activation Key field is pressed. Press Tab to move to another field and accept the changes.

Since screen MM_Help does not yet exist in your application, an Information dialog box appears asking if you would like to create it. 8. Click Yes. A blank screen titled “MM_Help” is created. To view this screen, click the Object List down arrow and choose Screen: MM_Help. Return to the Main Menu screen when you are finished.

Creating a Second Menu Item The second menu item you create will start the JobOn transaction (you will create this transaction later in the tutorial). The steps below are more abbreviated than the steps in the previous task (Creating a Menu Item). Refer back to the previous task if you need more detail or illustrations. To create the second menu item 1. From the File menu, choose the Add Menu Item command. 2. Position the new menu item at Row 6 and Column 2.

3. Create the caption “F2 - Job On.” 4. Type “SFCLBR” in the String to Activate field. 5. Type “F2” in the Activation Key field.

2-10