Adding a theme class

A class is a reusable set of attributes that can be associated with a property, component, or theme element. You can use the Theme Editor to create and add classes as desired to facilitate reuse of these sets of attributes.

Any theme classes you create become available for use with forms and components in Design Mode.

The Add Class button is enabled only if Form or a specific form component type is selected.

To create and add a class:

  1. Select either Form or a specific form component type.
  2. Click the Add Class button.

    The Theme Editor creates a class entry with a temporary name as a subordinate entry in the tree view. The newly created class originally acquires the attributes from the form or form component type to which it is subordinate.

  3. Specify the name for the new class and press Enter.

You can now make changes to the newly-created class and those changes will be saved with the class and distributed to any element that uses this theme class. You can later use this class with the Theme Class property for forms and components in Design Mode.

相关主题