# How to Copy a Theme

> Source: https://manual.pvxplus.com/how-to/how-to-copy-theme

Starting with PxPlus 2024, the **[Copy Theme](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/copy-theme)** utility provides the ability to copy and create Themes. With this utility, you can copy a selected Theme from one directory to another and optionally copy related Visual Classes. You can use this utility to create new Themes, as well as Visual Classes. Using Themes and Visual Classes enhances the look of your application and gives it a fresh, modern look.

Standard PxPlus Themes and Visual Classes are found in the ***\*plus/winutl*** directory. Themes are stored in the ***providex.dfs*** file, and Visual Classes are stored in the ***providex.ccl*** file.

![](https://manual.pvxplus.com/migration-assets/1920195b54898f3ca679bf1395c4141db93872f7dc619ecf4f46808f7d0891d7.jpg)

These steps show you how to copy a Theme:

|  |  |
| --- | --- |
| 1\. | From the IDE Main Launcher, expand the *Graphical Application Builder (NOMADS)* category, and then expand the *Setup* menu. |
| 2\. | From the *Setup* menu, select *Copy Theme*. If the Themes file does not exist, the following message will display:<br>![](https://manual.pvxplus.com/migration-assets/3c20c4b0f497b87ae25767de7a28961f1a4d1ddb716ea9a22852aca70f937975.png) |
| 3\. | Click *OK*. The **Copy Theme** utility is displayed. |
| 4\. | If the Themes file exists, the *Input Directory* will be populated based on Project settings. A different directory can be entered or selected by clicking the Query (*folder*) button. If the Themes file does not exist, the **Copy Theme** utility will display, and the *Input Directory* will be blank. |
| 5\. | To copy PxPlus Themes, select the *Use PxPlus Themes* check box. The *Input Directory* defaults to the location where the PxPlus Themes and Visual Class definitions are stored and is disabled.<br>\|  \|<br>\| --- \|<br>\| ![](https://manual.pvxplus.com/migration-assets/b10651fa27222f07123a4ca092e9e044c6f0d5fb5e2e6913781dd68201b91155.jpg)  <br>***When Use PxPlus Themes check box is selected*** \| |
| 6\. | Enter an *Output Directory* or click the Query (*folder*) button to specify where the Themes/Visual Classes are to be copied.<br>The *Output Directory* can be the same as or different from the *Input Directory*. It cannot be the same location where the PxPlus Themes and Visual Class definitions are stored (i.e. \*plus/winutl); otherwise, a message will display. |
| 7\. | Select a *Copy from Theme* from the drop box. All the Themes are loaded into the drop box. |
| 8\. | Enter a new *Copy to Theme* or keep the defaulted value. If the *Input Directory* and *Output Directory* are the same, a new *Copy to Theme* name that is different from the *Copy from Theme* name must be entered; otherwise, a message will display. |
| 9\. | Select the *Copy Visual Class Records* check box to copy all Visual Classes for the selected Theme.<br>\|  \|<br>\| --- \|<br>\| ![](https://manual.pvxplus.com/migration-assets/ab3334da7104bff2816c108acd47919d7291344f73cec8f6c2bece66d0b18454.png)  <br>***Example of a Visual Class with a Theme*** \| |
| 10\. | Click *Proceed* to start the copy process. If the Themes/Visual Classes already exist, see **[Step 15](https://manual.pvxplus.com/how-to/how-to-copy-theme#Mark1)**. |
| 11\. | If you click *Proceed* but the Themes file does not exist in the *Output Directory*, a message will display, asking to create it.<br>![](https://manual.pvxplus.com/migration-assets/473e5a792198be96ee4540f44c2ed3aeeb68a6f0ab4275a7696e2b405eca8a1c.png) |
| 12\. | Select *Yes* to create the Themes (Templates) file or select *No* to abort the file creation and close the utility. |
| 13\. | If you select *Yes* to create the Themes file but the Visual Classes file does not exist in the *Output Directory*, a message will display, asking to create it. This will only apply if the *Copy Visual Class Records* check box was selected.<br>![](https://manual.pvxplus.com/migration-assets/2fc043b78f9695f0df6c1df418eb5f066b9aff7c4fdde277ec85839e0f90370c.png) |
| 14\. | Select *Yes* to create the Visual Classes file or select *No* to abort the file creation and close the utility. |
| 15\. | If the Theme already exists, the following message will display:<br>![](https://manual.pvxplus.com/migration-assets/c8a14317bdb91c9b0da2c70b0668e636a7bec1a71b04581cb517b7cd16e6426a.jpg) |
| 16\. | Select an option to continue copying Themes. |
| 17\. | If the Visual Class for the Theme already exists, the following message will display:<br>![](https://manual.pvxplus.com/migration-assets/494eaeeaa8f9955896ff68ef0eac7c5369c53b8ff3b61bfbd951435a34d483aa.jpg) |
| 18\. | Select an option to continue copying Visual Classes. |
| 19\. | Once the copy is completed, a **Copy Complete** dialog displays the number of Theme and Visual Class records that were copied.<br>![](https://manual.pvxplus.com/migration-assets/6eeddda813c49c3906055df227a4283f547945d13233be47840b6807934baf09.png) |
| 20\. | Click *OK*. You are returned to the **Copy Theme** utility. You can copy more Themes/Visual Classes or exit the utility. |

## See Also

**[Copy Theme](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/copy-theme)**  
**[Themes](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/themes)**  
**[Visual Classes](https://manual.pvxplus.com/nomads-graphical-application/system-maintenance-tools/system-options/visual-classes)**
