Working With Templates
167
PDesign4 Touch Panel Design Software (v2.10 or higher)
Working With Templates
Importing Template (*.VAT or *.TPT) Files
TPD4 allows you to import VisualArchitect (VA) template files (*.VAT) as well as TPDesign4 template
files (*.TPT).
*.VAT template files are created and exported using the VisualArchitect application.
*.TPT template files are created and saved as templates in TPD4.
To import a touch panel template file into TPD4:
1. Select File > Import Touch Panel Template to open the Import Touch Panel Template dialog.
2. Locate and select a Touch Panel Template file (*.VAT or *.TPT) to import into TPD4 for editing.
When a VAT or TPT template file is imported, a Status dialog indicates the progress as the various
component files are loaded. Depending on the size of the template, this could take several minutes.
Once the template has been loaded, it is opened in TPD4 as a project file. The buttons and pages can be
edited, copied and pasted just like any other TPD4 project.
Working With the System Page Template
The System Page Template is a set of pages, popup pages and buttons that are pre-defined with functions
that allow you to view/edit various panel and system parameters. When you open the System Page
Template, TPDesign4 automatically selects the template that matches the panel and resolution specified
for the active project.
Select File > Open System Page Template to open the system page template. You will see the System
Page Template open in the Workspace Navigator as a separate project folder, containing a set of system
pages and popup pages.
You can use the System Page template to copy/paste entire System Pages into your project, or copy/paste
selected elements from a System Page into a page in your project. For example, you may want to include
the entire RGB Setup page in your project. Once you copy the System Page into your project, it is treated
like any other page in your project. You can edit or modify the page and contained buttons, just like you
would for any other page in the Project.
Alternatively, you may decide that rather than pasting an entire system page into your project, you only
want to use some of the features on a System Page. In this case, you can copy/paste just the buttons you
want out of a System Page, and paste them into any page in your project.
The System Page Template Pages are all intentionally locked. The pages and the buttons they contain are
not editable until they are copied out of the System Page Template folder, and pasted into a Project. Note
that the System Page Templates all have names that begin with two underscores (i.e. "__RGBsetup").
When these pages are pasted into a Project, the name is automatically changed to a single underscore
(i.e. "_RGB setup"). This is to protect the original System Page Template pages from being edited.
TPDesign4 will not allow you to create and save a page with the two underscore prefix.
Again, once the System Page Template is copied into a Project, and the name is (automatically) changed
to use a single-underscore prefix, it is fully editable, just like any other page in the Project.
Note that if you click on a button on a System Page, the Address and Channel Port/Code assignments
work differently than the buttons you create. System Page buttons always use these settings:
• Address Port: System Page buttons which require communication from the master controller
to the panel, are always set to the reserved setup port (0 - setup port) by
default.