This page created 23 Jun 2004
Version note: Applies to TMG 6 & 7
One of TMG's better features, in my opinion, is the ability to apply Accents to mark persons with most any characteristic. A virtually endless set of conditions can be displayed by Accents. The names of persons marked appear in distinctive colors in the Details window, Children and Siblings windows, the Project Explorer, and the expanded version of the Picklist. You can choose both the text and background color for each Accent condition you define. You can save different sets of accents and recall them for later use.
The screen shot below illustrates how accents can provide a quick display of how the people on screen are related to a base person, in this case, to me.

This article describes how Accents are turned on, offers some tips on their use, and suggests some useful Accent systems and how to create them.
Accents can be based on Flags (see my article on Flags for more information), or on any of over 1400 filter conditions. The filters include such conditions as the number of various types of tags; the contents of the date, place, or other fields in various tags; the name of a parent or sibling; or whether the person is an ancestor or descendant of someone; to cite some examples. The Flags used can be standard Flags, like Sex or Living, or any custom flag you might create. By creating and using custom Flags, very complex Accent systems can be defined, as illustrated in the system I use, which is described below.
TMG ships with a few sample Accent conditions defined. They are:
Males and Females Marks all males with a pale blue background, and females with a pink background, based on the setting of the Sex Flag.
Living Status Marks those with a Living (Flag) status of Yes with a green background, those with a status of No with white text on a red background, and those with a ? status with a yellow background.
End of Line Ancestors Marks those whose mother and father are both unknown with a green background.
Born in Virginia or Tennessee Marks those born in either Virginia or Tennessee with white text on a red background.
These examples illustrate several useful techniques for controlling Accents. The first two use Flags to control the Accent condition. The last two use filters, Father "Is Not Known" and Mother "Is Not Known" for the End of Line Ancestors Accent, and "Any Birth Group tag; State" = Virginia and "Any Birth Group tag; State" = Tennessee for the other. The End of Line Ancestors example illustrates an Accent definition requiring all conditions to be met, while the others use only the first condition met. The colors used demonstrate various combinations of text and background colors.
You turn on Accents from the Accent Definition screen. You access that screen by one of the following:
From the main menu, using File > Accent
Right click on most of the main windows, and choose Accent... from the right-click menu
Press Ctrl-A
Double click on the lower left section of the Status bar (if you have it turned on in Preferences), in the section that displays the current Accent conditions.
Once in the Accent Definition screen, you can use an existing Accent definition, including the samples described above, by clicking the Load... button at the bottom, and selecting one of the defined Accent files in the dialog box that opens. It may be helpful to Load each of the sample conditions and examine how they are defined to understand some of the methods available.
To create a new Accent definition:
Select either the second or third setting in the box at the top of the screen.
Select a line in the "Accent Conditions" box.
Define the conditions for that line using the drop-down lists in the "Selected Accent Condition" box, and typing text in the field if needed. Note that the Flags are listed at the top of the list for the first field, with the filter conditions below them.
Choose the colors by clicking on the [...] button for background color, or [ A ] button for the text color, and selecting the desired color in the dialog box that opens.
When you've defined that condition, click the Update button to apply the definition you have just defined.
Repeat steps 2 through 5 for any additional conditions, using the Add button to add additional lines if needed.
Help offers detailed description of each of the controls click the Help button to open the correct Help page.
Use the Apply button to apply your accents without closing the Accent Definition screen, or OK to exit the screen and apply the definition. If you might want to use the definition again later, you can give it a name and save it by clicking the Save as... button. If you save the definition, the name you use will appear in the status bar when this definition is in use.
When you close TMG, the Accent condition in use, if any, will be applied next time you open the program.
When you define Accents based on filters, such as "Is an Ancestor of" some person, TMG must re-compute the filter every time you change focus from one person to another. Depending on the specific filter used, the size of your Project, and the power of your computer system, this may result in an undesirable delay. By contrast, Accents based on Flags are much faster - TMG only has to look at the predefined Flag values for that one person.
The filters are fine for quickly creating an Accent definition. But for Accent definitions you use often, consider creating custom Flags, as described below, especially if you find filter-based Accents are degrading your system's performance.
Users have developed a wide variety of Accent definitions, some for a special analysis, and others that they use most of the time to easily identify people with certain characteristics. Common examples are Accents to mark persons not yet "cleaned up" after import or a change in personal data entry practices, and any of a number of systems to show how persons are related to the user or other persons. The Accent system I use is a combination of several of these ideas.
My Accent definition has three different parts, each based on a different custom Flag:
The screen shot below shows the Accent definition I use for my family.
Users who create several Accent Definitions for common use, such as I do for myself and my wife, may want an easy way to change from one to another definition. The best way I've found is to add a button to the custom Toolbar to turn on each accent. Here's how to do that:
Open the Custom Toolbar Manager from the main menu, using View > Toolbars > Customize..., or by right-clicking on any toolbar and choosing Customize... from the right-click menu.
In the "Unused buttons" list on the right, scroll to near the bottom, under "Special Functions," and select "Load a specific accent definition."
Click the [<<Add] button to add this button to the Toolbar, adding it as many times as you want to have different Accent definitions on your Toolbar.
Select one of the "Load a specific accent definition" entries in the "Toolbar buttons" list on the left.
Select whether you want the button to appear with a text label, or a "picture" (icon) in the box below the list of buttons. If you choose Text, enter the desired text in the field to the right of this box. Remember that the button will be big enough to accommodate the text, as illustrated by the sample button below that field, so keep it short. If you choose Picture, click on the blank button that appears to the right of the box to choose an icon. In the Choose Icon screen that appears, click on the desired icon to choose it. (You can also create your own icons, but that's a subject for another day.)
Enter descriptive text in the "ToolTip message" field - that's what you will see if you hover your mouse cursor over the button.
Enter the name of the Accent definition this button is to apply in the "Name of accent" field. The easiest way is to click the [...] button to the right of the field and select the name from the list that appears.
Repeat steps 4 through 7 for each additional button you added, choosing a different icon, tooltip message, and definition name for each.
When you are done, click OK. If you don't have the custom toolbar displayed you will be prompted to display it - click Yes.
If the custom Toolbar is not already part of your custom Layout, it will not be displayed when you close and then restart TMG. To have it display each time, you need to arrange it where you want it to appear, than save the layout that includes it. See my article on Layouts for details.
My new book, A Primer for The Master Genealogist, is now available.
Details are available here.
Copyright 2000-2008