Templates are objects that are used exclusively for creating
more objects. Templates are easily recognizeable from
their icons:
Objects that are created from template inherit the properties
of the template. In that sense, creating an object from a template
is similar to copying the template, except that the new object
will not be a template itself, but a regular object.
To create a new object from a template, perform one of the
following:
- Drag
a new object off of the template and drop it onto
the folder where the
new object should be created.
- Double-click on the
template to have a dialog displayed which allows to to select
the target folder for the new object.
The &link_tempsfdr; contains most templates that were created
when &os2; was installed.
Use that folder to create, among others, new
&link_folders;,
&link_progobjs;, or
&link_datafiles;.
However, this is not a restriction:
- Templates can reside in any folder. The system keeps track
of them and can, for example, display matching templates in the
"Create another" menu.
- You can turn any object into a template.
For example, if you find yourself using a certain type of data file
frequently, you might consider creating a template for it. To do this,
perform the following:
- Open the document's properties notebook.
- Click on the "Icon" tab to switch to the "Icon" page.
- Click on the "Template" box.
The icon of the document changes to a template icon, with the
previous icon of the object displayed in shrinked form in the middle.
Similarly, if you find yourself applying the same properties to your
folders again and again, create a folder template that has these properties
already and use this template for creating new folders.
For related information, select from the list below: