|
|
Allows you to attach static values to push buttons and button drop lists. You can use text, pictures or both text and pictures on the buttons.
Open a push button or button drop list data type. The Static Values drop-down list in the Data Type Definition window must be set to Text. Click The Static Values lookup button.
Captions tab
The Captions tab allows to specify the text and images that will appear on the push button or button drop list. You can specify text, images or both text and images. The text or images displayed are determined by the state of the push button or button drop list.
To specify a caption, type the text for the caption into the Up, Down or Over items in the Caption column.
To specify a picture resource to use for the image, type the name of the picture or click a lookup button for the Up, Down or Over column. The Image Lookup window will be displayed, allowing you to select a picture to use. Any pictures you select will automatically be added to the image list for the push button or button drop list.
If you supply only the Up image or caption, Dexterity will automatically generate the Down image or caption when the push button or button drop list is clicked. |
The other fields in this tab are not used at this time.
Images tab
The Images tab lists all of the images that have been added to the image list for the push button or button drop list data type. You can use the Field_GetImage() and Field_SetImage() functions to specify the images to display for the push button or button drop list. The values used by these functions correspond to the Index value for each picture listed.
When you use the Captions tab to specify pictures to use for the push button or button drop list, the pictures you select are automatically added to the image list.
To manually add pictures to the image list, click Add. The Image Lookup window will be displayed, allowing you to select a picture to add to the image list. To remove a picture from the image list, select it and click Delete.
Drop Items tab
The Drop Items tab allows you to specify static text items that will appear in a button drop list.
The text string you want to add to the button drop list. To add a new static text value, type the value, then click Add. The item will be added to the list of values to be displayed in the button drop list.
Inserts the value in the Item field into the list of static items. The new value will be inserted immediately before the selected value in the list. If no item is selected, the new item is added at the end of the list.
Removes the selected item from the list.
Replaces the selected item with the text in the New Value field.
When marked, the text items added to the list will be sorted in alphabetical order at runtime. If this selection isn't marked, the values will be displayed in the order in which they were entered. The sorting process is not case-sensitive.