Ancestris - Forum

Ancestris Support => ENGLISH => Topic started by: Graziano on November 15, 2023, 16:37:05

Title: Can I change the background color of only certain specific people?
Post by: Graziano on November 15, 2023, 16:37:05
Person's card:
can I change the background color of only certain specific people selected by me? How?
Title: Re: Can I change the background color of only certain specific people?
Post by: Zurga on November 15, 2023, 18:07:40
No, you can't.

Zurga
Title: Re: Can I change the background color of only certain specific people?
Post by: Graziano on November 15, 2023, 18:11:15
Thanks Zurga for all your answers!
Title: Re: Can I change the background color of only certain specific people?
Post by: fred_76 on December 06, 2023, 12:01:04
Effectively, you can't, and even in the source code of Ancestris, it would be very difficult to implement this (because the Java source is overly complex with deeply intricated routines).

There is an alternative. Using the calcs setting for the display of Individuals (little man icon on the top right corner of the Dynamic tree view).

For example, I want to flag the persons that are my direct ancestors. I'm using the <mark path=INDI:_SOSA> tag. The font color property controls the color of the mark (here it is red) :

Code: [Select]
<font color=#f00><mark path=INDI:_SOSA></font>
<i><b><prop path=INDI:_SOSA><b></i>
<b><prop path=INDI:NAME:SURN></b>
<br><prop path=INDI:NAME:GIVN>&nbsp;
<i><prop path=INDI:TITL></i>
<br>o&nbsp;<prop path=INDI:BIRT:DATE>&nbsp;<prop path=INDI:CHR:DATE> <prop path=INDI:BIRT:PLAC format="">
<br>+&nbsp;<prop path=INDI:DEAT:DATE>&nbsp;<prop path=INDI:DEAT:PLAC format="">

So that I can quickly see where they are in the tree, with this red mark.

Fred




Title: Re: Can I change the background color of only certain specific people?
Post by: Graziano on December 18, 2023, 10:14:50
thank you!