Re: Adding 'avatars' to individuals
Posted: 08 Nov 2016 10:17
David, there is a much simpler way to insert your Avatar as the first Media item.
InsertAvatar(...) adequately copes with an Avatar already in first position.
This is the way to insert a new Avatar into the first Media position :-
QED
Focus Window Overview
Just for completeness , especially for others who may be following this thread, here is my take on David's objectives.
The Avatars are intended to provide various status indicators for each Individual.
However, the Focus Window offers almost all those indicators, and often multiple simultaneous indicators :-
InsertAvatar(...) adequately copes with an Avatar already in first position.
This is the way to insert a new Avatar into the first Media position :-
- Use fhCreateItem(...) to create the new Avatar in last position.
- Use fhMoveItemBefore(...) to move it before the 1st [1] item.
QED
Focus Window Overview
Just for completeness , especially for others who may be following this thread, here is my take on David's objectives.
The Avatars are intended to provide various status indicators for each Individual.
However, the Focus Window offers almost all those indicators, and often multiple simultaneous indicators :-
- Brick Wall: Very obvious in the Focus Window that an Individual has no parents.
- Unspecified Gender: Only possible for Individual with no Spouse or Children so must be a Child or Focus person and their Sex is clearly shown.
- Direct Line Ancestor: Any direct line Child is marked with a blue arrow so the parents & grandparents above must all be direct line ancestors.
- Male/Female Inlaw/Relative With/Without Spouse: Click on the Descendants tab to see whether Children have Spouses or further Children.
- Spouses of Relatives: Usually evident in the Focus Window.
- Outside Relationship Pool: Not in Focus Window, but can add to Property Box Caption using Pool =RelationPool() to show the Pool number.