Product Information > JADE Developer’s Reference > Chapter 9 - Using Skins to Enhance JADE Applications > FormsetFormSkin Method

Form::setFormSkin Method

The Form class setFormSkin method, which has the following signature, sets the current skin for a specific form regardless of the setting of the Window::skinCategoryName property.

setFormSkin(skin: JadeSkinForm);

However, if the value of the Window class ignoreSkin property is set to true, the skin is still ignored. The skin has no impact on the controls of the form except potentially for the JadeSkinArea class backColor property (for more information, see "JadeSkinControl Class", earlier in this chapter).

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 this 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.