Options Menu

The Options menu allows you to set the Resource Editor to automatically update when a new object is selected, as well as configure the order in which the resource lists are presented and specify how to generate code for all resource values.

Select Options from the Resource Editor menu bar to display the Options menu:

Options Menu

The item available from the Option menu is Automatic Update

Automatic Update

When set, updates the Resource Editor automatically each time you select a object. When Automatic Update is not set (the default), the resources are displayed only when you click the Update button.

Note: It is often more efficient to update the Resource Editor manually, for example, when you are using the Builder Xcessory editors to assign a resource value to a number of widgets.

Alphabetical Order

Displays the Resource Editor resource list in alphabetical order. Use Alphabetical Order in conjunction with Type Order to display resources alphabetically by resource type. By default, Alphabetical Order is set.

Type Order

Groups resources by resource type. For instance, createCallback, destroyCallback, focusCallback, helpCallback, mapCallback, and unmapCallback are grouped together. Use Type Order in conjunction with Alphabetical Order to display resources alphabetically within each type grouping.

Default Resource Placement (Ctrl + M)

Note: This feature is not applicable for Java.

Select Default Resource Placement from the Options menu of the Resource Editor to display the Default Resource Type dialog:

Default Resource Type Dialog from the Code Menu

The default controls the resource setting which a resource of the appropriate type takes when modified. For example, change the Color resource setting by clicking the App toggle button. Now change the value of a color resource for some interface object (such as background for a bulletin board widget). The modified value defaults to App, rather than Code.