Static values

Certain control types allow you to specify static values for the data type. Static values are any text or pictures associated with a data type that are displayed by a field using that data type. For example, the text on a push button and the items in a list box are static values.

[spacer]

To set static values for a data type, first use the Static Values drop-down list to set the type of static value.

[spacer]

You can choose one of the following:

 

Only those selections available for the control type you selected will appear. Once you’ve selected the static value type, click the Static Values lookup button. A window will appear allowing you to enter or select static values.

Static text values

If you want to add text to push buttons, radio buttons, check boxes or list boxes, you can add static text values to the data type.

The following table lists common uses for static text values.

[spacer]

Control type

Static text used to:

Button Drop List

Indicate the caption that appears on the button, as well as the selections in the list.

Check box

Indicate the check box prompt name.

Drop-down list

Indicate the selections in the drop-down list.

List box

Indicate the selections in the list box.

Push button

Indicate the caption displayed on the button.

Radio button

Indicate the caption displayed next to the button.

Visual switch

Display two or more text values that will be displayed in sequence as the user clicks the visual switch.


Static picture values

If you want to add graphics to push buttons, button drop lists, visual switches, list views or tree views, you will use static picture values.

You can use two kinds of resources as static picture values:

The following table lists common uses for static picture values.

[spacer]

Control type

Static picture usage

Push button

Pictures and native pictures can be used for images on the button.

Button drop list

Pictures can be used to indicate the images for the button portion of a button drop list.

List view

Pictures can be used for items appearing in the list.

Tree view

Pictures can be used with nodes appearing in the tree.

Visual switch

Can display two or more pictures or native pictures to set up a sequence of images that will change as the user clicks the visual switch.



Documentation Feedback