Saving GEDCOM tags is a bit different. First, there are the many default tags set up by Behold that need not be saved if their text or print selection do not change. Then there are the customized tags the user adds that must all be saved. Reading them back in also need their own special code. While doing this, an overhaul of the very old tag code that is from 5 years ago is a worthwhile task.
The Save function on the Main form was not set up to work. I originally thought it would only be used to save the current GEDCOM file(s), but this won’t be implemented until after version 1.0. But it can (and should) be used to save the current Behold file, if there is one. Setting this up also means maintaining the activation status of the Save action, which is active whenever there is a Behold file in memory that has been modified but not saved.
There. That’s all done. A bit of testing and it seems that the Behold file of Organize information now saves and loads properly. Finally a milestone and a mini-feature finished!!! I counted 50 features remaining until I release Version 0.99 and each is worth 0.4% towards the completion of that release. I’m now incrementing my completion to 80.4% and marking the “Save and Reuse Organizational Information (Behold files)” feature up from 60% to 80% done. I’ve still got the “Load From” and “Save Into” features to do next before that gets to 100%.
It took a long time to do my first 0.4% increment. Looking at my Blog for the last 3 months and I see I had a lot of computer hardware-related things getting in my way, but also I had done a lot of internal restructuring in Behold and did some difficult work to get the Organizing tools working just right, which was necessary but was not something I counted as one of my 50 features left to do. Hopefully, now that I am concentrating on the features and finishing them off, things will go much faster. But I know I will run into some delays when I finally get to the GEDCOM testing. Although I’ve written Behold in a very general way, I’m sure there will be some test files with certain wierdnesses that I have not thought of. We shall see.