When you create a new project using the Standard Project template, a program containing a blank, graphical screen is automatically created within the project. Similarly, if you create a new AcuBench program within your project using the Standard Program template, the program includes a single blank, graphical screen.
If you have created an AcuBench program that does not include a screen, or if you want to add additional screens to a program, you can use either of two methods: select a template from the New Screen interface, or open a screen template file that you have previously created. This topic discusses the first method. The second method is discussed in Working with Screen Templates.
To add a new screen to your AcuBench program using the New Screen interface:
The New Screen dialog appears, listing the available screen templates.
The default templates include the following:
Template | Description |
---|---|
Blank Graphical | A blank graphical screen |
Standard Graphical | A graphical screen that contains an OK button, a Cancel button, and a main menu |
Graphical Password | A graphical screen with entry fields and push buttons for collecting user login data |
Blank Character | A blank character-based screen |
Standard Character | A character-based screen with an OK button, a Cancel button, and a main menu |
Character Password | A character-based screen for collecting user login data |
It is also possible to change the screen name after the screen has been added to your program. Just enter a new value in the (Name) field of the screen’s property sheet.
Note that when you change the name of a screen after the screen has been created, the prefix appended to the name of any existing controls is updated to reflect the change. The new prefix is automatically set to the first 10 characters of the screen name. See the next step for more information about prefixes.
As with the screen name, you can change the screen prefix after the screen has been created. To do this, right-click the screen form in the Screen Designer and select Change Prefix.
The new screen form is opened in the Screen Designer, and an icon for the new screen is added to the program’s Screen node in the Workspace window’s Structure view. When needed, you can double-click the Structure view icon to open the screen in the Screen Designer.