WebForm.useProjectTheme

Change the current Form so it uses its Project's configured Theme.

The Theme must have the same Framework and collection of Property Sets as the current Theme otherwise the Form may not look as expected.

Important: form.useProjectTheme(); must be on the last line of a script. After the useProjectTheme() function call is executed, the next script configured in the server event will be executed.

For further information see:

JavaScript example:

 form.useProjectTheme();