{"id":11277,"date":"2020-09-04T11:24:33","date_gmt":"2020-09-04T11:24:33","guid":{"rendered":"https:\/\/fhug.org.uk\/kb\/?post_type=kb_article&#038;p=11277"},"modified":"2024-02-23T13:37:53","modified_gmt":"2024-02-23T13:37:53","slug":"using-icons","status":"publish","type":"kb_article","link":"https:\/\/www.fhug.org.uk\/kb\/kb-article\/using-icons\/","title":{"rendered":"Using Icons"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>An Icon is a small image file that will sit against a box on a diagram .Some users feel they are an excellent way of keeping visual track of\u00a0 information, such as what census records have been associated with people, immigration facts, death during infancy, twins, or work in progress.<\/p>\n<h2>How Can I Create an Icon<\/h2>\n<p>The <a href=\"https:\/\/fhug.org.uk\/kb\/download-type\/diagrams\/diagram-icon\/\">Diagram Icons Downloads collection<\/a> offers Icons to identify facts and other data items. Some use National Flags to show birth places or immigration, which on diagrams are helpful as visual aids during a census trace exercise.<\/p>\n<p>If you can&#8217;t find a suitable Icon in our Downloads, it is worthwhile to try to edit one of the <code>.bmp<\/code> files supplied in <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> using an Image Editor such as PAINT (on most Windows PCs), or Adobe Photoshop, etc.<\/p>\n<p>These Icon files are located in the\u00a0<a href=\"https:\/\/fhug.org.uk\/kb\/kb-article\/family-historian-program-data-folder\/\">Family Historian Program Data Folder<\/a>\u00a0in the\u00a0<code>Icons\u00a0<\/code>sub-folder. It is advisable to add any new Icons either to that sub-folder, or to your\u00a0Family Historian Projects\u00a0folder.<\/p>\n<h2>Using Icons<\/h2>\n<p>Icons are managed in Diagrams by opening <a href=\"#!\" class=\"cs_tooltip\" fhugtt=\"This is the menu across the top of the main Family Historian windows. The &gt; denotes a submenu\">Diagram&nbsp&gt;&nbspOptions<\/a>, navigating to the <em>Boxes<\/em> tab and using the &lt;&lt;Add\/Edit\/Delete&gt;&gt; Condition buttons.<\/p>\n<p>To select a\u00a0Flag\u00a0as a\u00a0Condition, click the\u00a0<em>&lt;&lt;Add Condition<\/em>\u00a0button, choose\u00a0<em>Record Flag<\/em>, and select the\u00a0Flag\u00a0from the list. A tab for that\u00a0Flag\u00a0will be added to the\u00a0Record Flag\u00a0pane below the\u00a0Conditions.<\/p>\n<p>A Condition can also be an Expression that involves Data References or Functions. So a Flag is no longer needed to define a Condition associated with basic GEDCOM data.<\/p>\n<p>To choose the\u00a0Icon, first select the Condition\u00a0<em>Record Flag<\/em>\u00a0or\u00a0<em>Expression<\/em>, then click the\u00a0<em>Edit Features\u2026<\/em>\u00a0button. In the\u00a0<em>Box Features<\/em>\u00a0window, tick the\u00a0<em>Icon\u00a0<\/em>option and\u00a0<em>&lt;&lt;Select\u00a0the\u00a0Icon<\/em>\u00a0file.<\/p>\n<p>Note that other Features can also be chosen to depict the Condition, e.g. changing the Text Colour or the Box Fill.<\/p>\n<h2>Worked Examples<\/h2>\n<p>As a simple example, assume that an Icon is desired to depict every Retirement\u00a0Event, and a Y presented in an Individual Record Window Column.<\/p>\n<p>Simply add a Condition Expression of <code>%INDI.RETI%<\/code> and select the Icon as described above. With this technique the Icon is always factual, because its Condition is the existence of the\u00a0 Retirement Event itself.<\/p>\n<p>To obtain more precise Conditions use an\u00a0Expression\u00a0based on the examples below, assisted by the\u00a0<em>&lt;&lt;Insert Data Ref\u2026<\/em>\u00a0button.<\/p>\n<ul>\n<li><code>%INDI.RETI.DATE%<\/code> will match the 1st Retirement\u00a0Event if it has a Date defined.<\/li>\n<li><code>%INDI.BAPM.SOUR&gt;%<\/code> will match the 1st Baptism\u00a0Event if it has a Source Citation.<\/li>\n<li><code>%INDI.CENS[year=1901]%<\/code> will match a\u00a0Census\u00a0Event\u00a0with a\u00a0Date\u00a0in\u00a01901.<\/li>\n<li><code>%FAM.MARR.PLAC%<\/code> will match the 1st Marriage\u00a0Event if it has a Place defined.<\/li>\n<\/ul>\n<p>Much more complex Expressions are possible with the use of Functions and some examples are given below:<\/p>\n<ul>\n<li><code>=Exists( %INDI.FAMS&gt;MARR.PLAC% )<\/code> is an alternative to the preceding 1st Marriage Event example.<\/li>\n<li><code>=Exists( %INDI.FAMS[2]&gt;MARR.PLAC% )<\/code> is a similar alternative, but for a 2nd Marriage Event.<\/li>\n<li><code>=IsTrue( %INDI.CENS[year=1871].SOUR&gt;_TYPE% = \"Census\" )<\/code> matches a Census Event in 1871 with a Source Citation where its Type is Census.<\/li>\n<li><code>=ContainsText( %INDI.BAPM.SOUR&gt;TITL%, \"Baptism\", STD )<\/code> matches the 1st Baptism Event if it has a Source Citation whose Name contains the word Baptism.<\/li>\n<li><code>=IsTrue( (Diff(DayNumber(%INDI.BIRT.DATE%),DayNumber(Field(NextSib(%INDI%,1),'INDI.BIRT.DATE'))) &lt; 2 ) or (Diff(DayNumber(%INDI.BIRT.DATE%),DayNumber(Field(PrevSib(%INDI%,1),'INDI.BIRT.DATE'))) &lt; 2 ) )<\/code> finds twins and other multiple births.<\/li>\n<\/ul>\n<h2>Icon File Links<\/h2>\n<p>To add an\u00a0Icon, open the\u00a0<em>Box Features<\/em>\u00a0window, tick the\u00a0<em>Icon\u00a0<\/em>option and\u00a0<em>&lt;&lt;Select<\/em> the Icon file. This file can be anywhere on the PC, but you should consider the ease of moving your <span class=\"fh\" style=\"font-size: 17px !important; line-height: 21.4286px !important;\">\u0192<span style=\"color:#73B262; font-weight: bold;\">h<\/span><\/span> configuration to another PC when deciding where to store the PC.<\/p>\n<p>If the\u00a0Icon\u00a0file is in the\u00a0<a href=\"https:\/\/fhug.org.uk\/kb\/kb-article\/family-historian-program-data-folder\/\">Family Historian Program Data Folder<\/a> Icons sub-folder, then just its filename is saved and it will migrate to another PC. So if you need custom Icons, add them to this Icons sub-folder.<\/p>\n<p>In all other cases the\u00a0Icon\u00a0file path is saved in full, and often will NOT migrate to another PC, so the\u00a0Icon\u00a0file link will become broken and need repairing. If the\u00a0Family Historian Program Data Folder\u00a0is synchronised on two PC via cloud storage such as\u00a0Dropbox\u00a0then this is unworkable for the synchronised\u00a0Diagram\u00a0files. A possible solution is to use a folder that has the same file path on most PC, such as the\u00a0Public Pictures\u00a0folder, or the\u00a0Family Historian Program Data Folder\u00a0sub-folders, which are the same on\u00a0Windows Vista\/7\/8\/10.<\/p>\n<h2>Why does the Icon overlap the Shadow in my Text Scheme?<\/h2>\n<p>The Icon position is set to sit immediately below a box on top down diagrams. If you have opted to have a shadow under that box, the Icon needs to have some space at the top to make it appear to be lower. This is done by making the top bit a background colour which basically just doesn&#8217;t show on the diagram!<\/p>\n","protected":false},"template":"","fh_version":[13,14,15,739],"skill_level":[18,17,16],"topic":[724],"class_list":["post-11277","kb_article","type-kb_article","status-publish","hentry","fh_version-v4","fh_version-v5","fh_version-v6","fh_version-v7","skill_level-advanced","skill_level-intermediate","skill_level-newcomer","topic-diagram-tips"],"_links":{"self":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/kb_article\/11277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/kb_article"}],"about":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/types\/kb_article"}],"wp:attachment":[{"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/media?parent=11277"}],"wp:term":[{"taxonomy":"fh_version","embeddable":true,"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/fh_version?post=11277"},{"taxonomy":"skill_level","embeddable":true,"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/skill_level?post=11277"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.fhug.org.uk\/kb\/wp-json\/wp\/v2\/topic?post=11277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}