Creating categories
 
Now that you know how to insert templates and forms, you can create mini "card index" type databases within a TreePad file for addresses, recipes, music collections, etc. Just insert a Treebook template node then use it to create as many blank forms as you require.
 
Let's assume you created your own address book this way, and it proved so successful that before long, opening it resulted in a tree hundreds of records long, containing names of friends and family mixed up with organizations and business contacts. You'd want to subdivide it into categories based on their type (family⁄friends⁄business) or position in the alphabet, wouldn't you?
 
Starting with a Simple addressbook as a template, let's insert two blank standard articles to serve as dividers. Focusing on Simple address template, press Insert and select Insert a node using the current book template to create node A-M. Repeat this to create node N-Z (Fig. 1a).
 


Fig. 1a Fig. 1b
 
Now, changing focus to node A-M, press Insert and select Insert a node using the current book template to create a record for ANDERSON, Jim. Note that TreePad, on discovering that A-M is not itself a template, retraces its steps until it finds a node that is one.  Leaving the focus on ANDERSON, Jim, press Enter and repeat the process to create the sibling node BAKER, Chris. From now on press Enter each time you wish to add a sibling to the A-M subtree. Similarly, commencing with the node N-Z, create one child node, then as many siblings of that child node as you wish. You now have an address book with two categories (Fig. 1b).
 
TreePad's design not only enables you to create categories but also to create nested sub-categories if you wish, adding them as your file enlarges. You may use just one template and base your categories and sub-categories on it (Fig. 2a), or have two different templates within the one subtree, each giving rise to its own specialized forms (Fig. 2b). Just remember the scope of each template.
 
Fig. 2a Fig. 2b
 
As you saw in Template scope (Mixing forms, Fig. 2b) you can use Insert special to insert occasional forms using other templates without having to incorporate them into the current file.
Search ]     [ Previous  |  Next ]     [ Up  |  First  |  Last ]     (Article 284 of 563)

This page is created with TreePad