Button Captions In Object States

It is possible to change the caption text on a button for each object state. This means it is now simple to create toggle buttons which display "Off" and "On" labels, for instance.

To change the text on a button for a particular state

  1. Open the Properties dialog of the button object you want to modify.

  2. Select the state you want to modify. For instance the Button Down state

  3. Select the Modify Text tab. The Modify Text property page will be displayed.

  4. Set the Change text for this state check box.

  5. Any individual element of the style can be modified from the parent: the Text, Font, Size, Styles, Background, Shadow, Underline Style and Colour. If an element is not changed then it will be inherited from the Normal state; so you can simply change the text itself and any subsequent changes to the Normal style will automatically be applied to the other states.

To remove modified text for a particular state

  1. Open the Properties dialog of the button object you want to modify.

  2. Select the state you want to modify. For instance the Button Down state

  3. Select the Modify Text tab. The Modify Text property page will be displayed.

  4. Clear the Change text for this state check box.

Related Topics:

Explaining Object States

Normal

Modified States

Button states

Drag and Drop states

Rollover objects