GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Allow user definition of panel layout for Custom Tags

Click to view RSS...
Author
Posted Friday, April 24, 2015 - Post #34963
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Customers
GenoPro version: 2.5.4.1

Last Login: Wednesday, December 7, 2016
Posts: 27, Visits: 303
I have several fields which take values of only a single character or just a few, eg Y/N or Year Number. Allocating a whole horizontal line in the entry panel for each such field is a waste of space. How can I specify that more than one field be on each line?

I don't wish for complete control of field placement but would like to be able to group certain fields together on the same line.
Posted Saturday, April 25, 2015 - Post #34968
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Customers
Important Contributors
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Yesterday @ 8:09 PM
Posts: 3,419, Visits: 26,408
The custom tag tab on the Proporties dialog cannot be changed.   to use a single  Another approach would be to use a single custom tag to record several values e.g.

myCustomTags = Marker1:Y, Marker2:N, Marker3:J, Year1:1951, Year2:2010, Text1:"some text" etc

I recall your earlier post about writing custom tag data to a gedcom export

In this case the script required in the Config Param field to access each value separately would be something like:

var Flags={Y:"Y", N:"N", J:"J"}, data={}, tag=(this.GetTagValue(i,"myCustomTags") + '') || '';
with (Flags) eval('data={'+tag+'};');   // create javascript object 'data' from tag values.
// then output gedcom for any subtags present e.g. 
Report.Write3Br('1 SomeTag ', data.Marker1, '');  // output Gedcom tag 'SomeTag' if Marker1 present
Report.WritePhrase('1 EVEN{\\br}2 Type your event name{\\br}2 Date {0}{\\br}', data.Year2); //output Gedcom event structure if Year2 present


The field names Marker1, Marker2, Year1, Year2, Text1 etc can of course ber chnaged to suit your own requirements







'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"


Edited: Saturday, April 25, 2015 by genome


Similar Topics

Click to view RSS...
Expand / Collapse
TopicKey_Locked
f you are working in a programming language such as Python, you can use the built-in date and time functions to display the full date.
Monday, May 29, 2023
Last Post: Howard53
TopicKey_Topic
Sunday, March 26, 2023
Last Post: genome
TopicKey_Topic
Friday, August 13, 2021
Last Post: appleshaw
TopicKey_Topic
Monday, November 16, 2020
Last Post: GenoProSupport
TopicKey_Topic
Can't connect to the genopro server when attempting to request an academic registration key.
Thursday, April 25, 2019
Last Post: RaphaelCarrozza

Reading This Topic

Expand / Collapse
Active: 3 - 1 guest, 1 member, 0 anonymous.
Refresh