Page 1 of 1

Highlighting Immigrants

Posted: 06 Sep 2018 13:48
by KenS
Good day all! First time poster here, so please forgive if my question has been covered somewhere my searching hasn't discovered.

My genealogical goal is to trace my non-indigenous ancestry back to whichever boat they arrived here (USA) on. When I discover an immigrant, I use the "immigration" fact to record this.

What I'd like to do is the following: when I create an ancestor (or any) tree, any record with an "immigration" fact automatically gets its box background in a different color - perhaps light green to commemorate the seasickness. :mrgreen: If not automatic, is there a "push button" solution available? A script? Setting up a record flag and applying it somehow? Ditto a named list?

If someone could point to an existing solution I've missed that would be wonderful as well.

Many thanks in advance for any assistance!

V/R KenS

Re: Highlighting Immigrants

Posted: 06 Sep 2018 13:56
by Jane
That is easy enough.

You simply need to check if an immigration event exists.

Go to Diagram>Options and select the Boxes tab.

Click on Add Condition then Expression then select the Immigration fact using the data reference button and click OK
2018-09-06_145457.jpg
2018-09-06_145457.jpg (136.32 KiB) Viewed 2851 times
On the next window select how you want to highlight the box. You can add an icon, or change the border or colour the box as you want.

Re: Highlighting Immigrants

Posted: 06 Sep 2018 14:10
by KenS
Perfect! Looks like I missed a few so I'll be editing rather than researching for a bit. Thank you!

V/R KenS

Re: Highlighting Immigrants

Posted: 06 Sep 2018 15:17
by Jane
Another nice option is to use icons, either triggered by a flag or an expression to show country of Origin.

So for example you can use

Code: Select all

=IsTrue(TextPart(%INDI.BIRT.PLAC%,-1,1,STD) = "USA")
and add a US flag if the Birth Place ends with USA and do the same for each country of origin, where you know it.

What the expression above does is to take the last part of the Birth Place and compare it to the string given in the " "


There is a quite comprehensive set of flags in the Knowledge base
fhugdownloads:contents:international_flag_icons|> Diagram Icons ~ International Flags