You have the ability to create a skin template from an existing skin template (a skin template supplied by PC SOFT for example).

This help page described the procedure to follow.

How to proceed?

Creating a skin template from an existing skin template

To create a skin template from an existing skin template:

Close WINDEV.

In the Windows file explorer, copy the directory containing the base skin template to use and rename this directory. The skin templates are found in the "Personal\SkinTemplates\WD" directory of the setup directory of WINDEV. For example, copy the "190 Gensteel" directory and rename it to "Custom Gensteel". Caution: the directory name must contain no digit before the name. This notation is reserved to the PC SOFT skin templates.

Start WINDEV.

In the editor, open the ".sty" file found in the new directory of the skin template. In our example, you must open the "Gensteel.sty" file found in the "Custom Gensteel" directory.

Save the ".sty" file under a new name via "Save as" (Ctrl + Shift + S). The name of ".sty" file must correspond to the name of skin template. Validate the creation of a new skin template by copy. In our example, the "Gensteel.sty" file must be renamed to "Custom Gensteel.sty".

The ".sty" file can be modified according to your requirements.

Close WINDEV.

In the Windows file explorer, delete the former ".sty" file from the directory of skin template. In our example, delete the "Gensteel.sty" file from the "Custom Gensteel" directory.

Then, you must describe the different windows of the skin template.

To describe the different windows of skin template:

Start WINDEV and don't open any project (close the home page if necessary).

Open the "<Name former skin template>_0_D" window in the editor.

Open the window description.

On the "Style" tab, in the "Current skin template" area, select the name of the new skin template.

Validate. Answer "Yes" to the request for applying the skin template.

In the window that is displayed, check the options (except for the first one). Validate.

In the "General" tab of the description window, modify the name of the window by replacing the name of the former skin template by the new name.

Validate and save the window.

These operations can be performed for the following windows:

"<Name former skin template>_1" (mandatory)

"<Name former skin template>_13" (optional but recommended)

"<Name former skin template>_22" (optional but recommended)

"<Name former skin template>_23" (optional but recommended)

"<Name former skin template>_24" (optional but recommended)

Using the new skin template

The new skin template is automatically proposed when creating windows or projects.

It can also be applied to a project or to an existing window. In this case, you must check "Apply according to the name of styles" and "Keep the style overrides if possible".