Adding a State

You can specify different attribute values for various component states.

Available states include:

States are not mutually exclusive. States priority order: disabled > focused > selected > mouseDown > mouseOver > normal.

Studio creates each new style with the normal state by default. You can add or remove states from styles as desired.

To add a state to a style, follow these steps:

1. Click on a style in the Defined Styles tree.

2. Click Add State.
The
Add a new state dialog appears similar to Figure 18.

image\img00032.gif

Figure 18: Add Style State dialog.

3. The Style states selection menu lists all of the states not yet added to this style. Click the arrow in the Style states selection menu to select the state to add to this style and click OK.
A new branch for the added state appears under the selected style in the style tree.

To remove a state from a style, click on a state and then click Delete. Studio removes the state and all attribute values specified for it from the stylesheet.