Chapter 1-1: Overview of Application Design
Named Resources
The named resources option is used to define a resource name for referencing a group of related graphic files within the application. Once a named resource has been defined, any references to the named resource on a GUI Attribute screen will result in the bitmap for the appropriate state being displayed on the image or object. This feature is used when designing GUI images that include buttons, icons and pictures. The type of image file being used varies based on where the graphical attributes are being defined. Typically, a resource is used in this manner:
| Defined At | Graphic File Normally Contains |
| Frame | Title bar icon, wallpaper bitmap |
| Image | Title bar icon, wallpaper bitmap |
| Child | Menu icon (pull-down, toolbar, pop-up) |
| Button | Button icon for one or more states (enabled, disabled, pressed, rollover, etc.) |
| Picture | Picture or image file |
When you select the named resources option from the Application Design Specifications Menu, the Named Resources screen is displayed, as shown in Figure 1-1-9 below.
Named Resources screen

The Named Resources screen is a scrolling display which contains the following fields:
- Resource Name for assigning a name to a related group of bitmaps
- Description to further define the Resource Name
Select detail to further define the selected resource. The detail display shown in Figure 1-1-10 allows you to define the “states” for this resource.
Named Resources Detail screen

The Named Resources Detail screen contains the following fields:
- State identifies a separate bitmap for each of the various states which an object may assume.
- ENABLED
To indicate the object is active and available for use to the user
- DISABLED
To indicate the object is not available for use to the user
- SELECTED
To indicate the object is currently selected by the user
- ROLLOVER
To indicate the mouse pointer is positioned over the object
- ROLLOVER SELECTED
To indicate the mouse pointer is positioned over a selected object
- PRESSED
To indicate the object has been pressed (clicked on) by the mouse pointer
- WALLPAPER
To indicate that the resource can be used as a wallpaper for a menu or input image.
- Location Type for defining the location of the bitmap
- CLIENT URL
For a URL to be interpreted by the client
- CLIENT FILE
For a specific file located on the client
- DIRECT
Indicates that the bitmap is stored in a 2K field within the resource record
- SERVER URL
For a URL to be interpreted by the server
- SERVER FILE
For a specific file located on the server
- DESIGN FILE
For a bitmap file stored in the application's Resource directory
- Location Data for defining the specific location information that corresponds to the Location Type used.