* Add a tick box to Property Box?

Questions regarding use of any Version of Family Historian. Please ensure you have set your Version of Family Historian in your Profile. If your question fits in one of these subject-specific sub-forums, please ask it there.
Post Reply
avatar
donone
Famous
Posts: 123
Joined: 14 Aug 2008 19:23
Family Historian: V5
Contact:

Add a tick box to Property Box?

Post by donone » 23 Feb 2014 12:13

V5
I have created an Individual Attribute "Inscription" with the intention of adding a Source in the same way as to a Birth.
I did not make this an Event because I presumed it would require a Date.
I am using the presence of Sources (using Expressions) to place Icons in Diagrams as suggested by Tatewise. It works!
Adding Inscription to the Property Box requires only a Tick Box to indicate its presence and to which I can attach the source (as with Birth). I then wish to place an Icon based on the presence of the Source {=Exists(%INDI._ATTR-INSCRIPTION.SOUR>%)}.
A Tick Box does not seem to be an option... is it possible?

I do not want to simply attach this as a second Source to Burial because if it turns out to be the only source it will satisfy the condition of a Burial Source and place a Burial Icon not an Inscription Icon.

I can add the Attribute to the main Tab which gives a Text Box. I suppose I could look for a typed "Y" but do not feel that to be truly satisfactory.
A Flag seems to defeat the ease of this method. Equally I tried using the Source Custom ID but it means that I must manually set it, again defeating the object.

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Add a tick box to Property Box?

Post by tatewise » 23 Feb 2014 13:09

The only difference between an Attribute and an Event is that an Attribute can have a Value and an Event cannot.
e.g. Occupation Attribute has the name of the Occupation as its Value.
All other fields such as Date, Age, Place, Address, Note, etc, are almost identical.
Using Tools > Work With Fact Sets > Properties you can enable/disable each of those fields in the Property Box Facts tab, but not elsewhere.
I would also set the Inscription Normal Time Frame to Post-Death just like Burial.

Back to your original Property Box question.
You cannot have just a tick box, but since you have chosen an Attribute you can get very close.
You can customise a box for its Value and typing any one character, even a space, will create the Attribute.
This sounds like what you have done using Data Ref INDI._ATTR-INSCRIPTION text box.
You can make the text box small by reducing its Fixed Width Percent, but to me it would be logical to enter a summary of the actual inscription.
This is another reason for an Attribute being better than an Event in this case.
I would still give it a Date however, which could also be customised into Main tab.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
donone
Famous
Posts: 123
Joined: 14 Aug 2008 19:23
Family Historian: V5
Contact:

Re: Add a tick box to Property Box?

Post by donone » 23 Feb 2014 13:34

Thank you for your response and its additional information.
I understand what you say and agree regarding adding more text to the Text Box appearing now on Main Tab and also the Timeframe.
Quote from Tatewise:
I would still give it a Date however, which could also be customised into Main tab.
The date being entered, I presume, is to give an indication of Burial/Death time should the Burial/Death Events not be present?
Presumably therefore you are suggesting that the date be a separate box to the aforementioned and not simply the first piece of text in the original Text Box.

[Edit] Setting Date & Note in Properties of Attribute still only provide a single box

avatar
donone
Famous
Posts: 123
Joined: 14 Aug 2008 19:23
Family Historian: V5
Contact:

Re: Add a tick box to Property Box?

Post by donone » 23 Feb 2014 13:50

What I have done is add Inscription with a single Box into Main of Property Box.
I do not 'need' to add text (I know I will as you suggest) but simply attach a Source to that as with Birth, and with my Diagram Expression it has placed the Icon correctly.
Although it works, is there anything that is not correct please?
[Edit] Yes, I do need at least one character to permit the citation. Thanks

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Add a tick box to Property Box?

Post by tatewise » 23 Feb 2014 15:03

To create the Attribute there must be at least one field with an entry, such as:
At least one character in the Value text box (Data Ref INDI._ATTR-INSCRIPTION).
An entry in the Date field box (Data Ref INDI._ATTR-INSCRIPTION.DATE).
An entry in any other field Age (~.AGE), Place (~.PLAC), Address (~.ADDR), etc.

As I said, the Properties settings for Fields Required only affect the fields shown on the Facts tab, not elsewhere such as the Main tab or the All tab.

The Part 1 box you've customised on the Main tab is just the INDI._ATTR-INSCRIPTION value.
This value appears on the Facts tab in the box labelled Inscription: above Date: (just like Occupation:).
You need to add Part 2 with the INDI._ATTR-INSCRIPTION.DATE field Data Ref.
The Date could be the date the Inscription was put on the grave-stone, which is often later than the Burial, which is later than the Death.
InscriptionCustomisation.png
InscriptionCustomisation.png (49.77 KiB) Viewed 7722 times
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
donone
Famous
Posts: 123
Joined: 14 Aug 2008 19:23
Family Historian: V5
Contact:

Re: Add a tick box to Property Box?

Post by donone » 23 Feb 2014 18:09

Thank you as always tatewise, for your thorough and well written explanation.
I am sure I can now complete this exercise.
Regards

avatar
donone
Famous
Posts: 123
Joined: 14 Aug 2008 19:23
Family Historian: V5
Contact:

Re: Add a tick box to Property Box?

Post by donone » 23 Feb 2014 19:13

I thought this was going rather too well (for me).
The Edit Custom Item button is disabled and nothing I do will enable it.
A small hint please?

[Edit] The item "Inscription" does not have the appendix "(Custom"), in the Selected Items list.??

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Add a tick box to Property Box?

Post by tatewise » 23 Feb 2014 20:25

I have never come across that situation before.
If you cannot select a ...(custom) item, then Edit Custom Item will be disabled.

Try using <Custom Item> (for advanced users) to create a new item and see if that fixes the problem.

Otherwise try the following:

If you have other Property Box customisations then export every custom tab using More Tab Tasks > Export Tab.
On the Main tab, make a note of all custom item settings as much as possible.

Then use the Installation Settings button to reset ALL tabs of the Property Box to installation defaults.
Then you can start customisation from the beginning again.

Use More Tab Tasks > Import Tab to restore other custom tabs.
Then customise the Main tab again.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
donone
Famous
Posts: 123
Joined: 14 Aug 2008 19:23
Family Historian: V5
Contact:

Re: Add a tick box to Property Box?

Post by donone » 24 Feb 2014 08:04

Thank you again for your patience.
After reading the following and searching 6 times...
Try using <Custom Item> (for advanced users) to create a new item and see if that fixes the problem.
I could not find it. I did eventually but it does not show up and is not obvious especially if one followed the path that I had when creating 'Inscription'.
I originally did that from Tools\ Work with Fact Sets\ New. Then while adding it to Main I unticked 'Show most commonly-used items only' and found 'Inscription'. The rest is obvious but...
...it did show as <Custom> in Event\Attributes List, and in Fact Definition List.
...it did not show as <Custom> in Customize Property Box.

It actually worked by refusing me adding a Citation until I had entered some text in the new Main\Inscription box
The rest then worked by adding my Icon only if I had a Source attached, not simply the text.

I guess I took the wrong road but 'seemingly' ended up at the same place, until I needed Part 2 of Edit Custom Item.
The problem is time, I had obviously created other items the correct way, but some years ago.
Now working 'correctly'.
Thank you and regards.

User avatar
tatewise
Megastar
Posts: 27088
Joined: 25 May 2010 11:00
Family Historian: V7
Location: Torbay, Devon, UK
Contact:

Re: Add a tick box to Property Box?

Post by tatewise » 24 Feb 2014 11:30

Perhaps a little explanation is worth while, because there are different Custom items involved.

Custom Attribute Inscription
This is defined using Tools > Work With Fact Sets > New and defines a GEDCOM database Custom Fact.
It says Custom in the Event/Attribute List because you chose the default Fact Set called Custom.

Property Box Custom Inscription
This is defined using Property Box > Menu > Customize and defines a Property Box Custom Item.
It is equally possible to define a Property Box Custom Item involving a Standard Fact.

I apologise for not reminding you to untick Show most commonly used items only to reveal <Custom Item>.
I assumed you would remember you needed to do that from when you created the Inscription Item originally.

On reflection I wonder if you mistook Available Items on the left and Selected Items on the right.
Inscription without (custom) will be listed under Available Items on the left, but is useless.
Inscription (custom) will be listed under Selected Items on the right, after using <Custom Item>.
But you may have to scroll down to bring it into view and select it to enable the Edit Custom Item button.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry

avatar
donone
Famous
Posts: 123
Joined: 14 Aug 2008 19:23
Family Historian: V5
Contact:

Re: Add a tick box to Property Box?

Post by donone » 24 Feb 2014 11:59

Thank you for your explanations. There is clearly a misunderstanding which may be useful to clear up.
from tatewise:
I apologise for not reminding you to untick Show most commonly used items only to reveal <Custom Item>.
I assumed you would remember you needed to do that from when you created the Inscription Item originally.
and previously
from me
...if one followed the path that I had when creating 'Inscription'.
I originally did that from Tools\ Work with Fact Sets\ New. Then while adding it to Main I unticked 'Show most commonly-used items only' and found 'Inscription'.
That is why I did not find the correct way when trying to edit, I had never created it in the correct way in the first instance. But it worked anyway until I needed to add Part 2. I had never seen Part 1 because I did not create it that way.
There was nothing that told me I should create 'Inscription' from the Property Box instead of Work with Fact Sets. Hence...
from me
I guess I took the wrong road but 'seemingly' ended up at the same place, until I needed Part 2 of Edit Custom Item.
The thing that caused the problem was that it worked perfectly with a single text box and I would never have known differently.
You have made clear what I didn't know before I started...
Custom Attribute Inscription
This is defined using Tools > Work With Fact Sets > New and defines a GEDCOM database Custom Fact.

Property Box Custom Inscription
This is defined using Property Box > Menu > Customize and defines a Property Box Custom Item.
It is equally possible to define a Property Box Custom Item involving a Standard Fact.
I hope it is clear to you now, what I actually did, why it worked and why I couldn't edit it.

Post Reply