setFormSkin

setFormSkin(skin: JadeSkinForm);

The setFormSkin method of the Form class sets the current skin for the form regardless of the setting of the Window class skinCategoryName property. However, if the value of the Window class ignoreSkin property or the Form class ignoreSkinAllControls property is set to true, the skin is still ignored.

The skin has no impact on the controls of the form other than potentially the JadeSkinArea class backColor property (for more information, see "JadeSkinForm Class" and "JadeSkinControl Class and Subclasses", in Chapter 1).

The controls continue to use the any application-defined skins. Setting a specific skin for a form takes precedence over any defined application skin for that form.

Changing a skin object after the setFormSkin method is called has no impact on the displayed skin. To apply any skin changes dynamically, you must call the Form class setFormSkin method again.

To clear the form skin (cancel the skin display), call the setFormSkin method again with a null value, as follows.

Form.setFormSkin(null);

The form then reverts to the use of an appropriate form skin set by the application.

For details about using skins to enhance your runtime applications, see Chapter 2 of the Runtime Application Guide.