Login to participate
  
       
Register   Lost ID/password?
Louis Kessler’s Behold Blog » Blog Entry           prev Prev   Next next

Sunday, January 26, 2003 - Sun, 26 Jan 2003

The Save bug is pretty simple. I should not Save the Organize Options to the memory stream when saving to a file. That allows the changes to be cancelled. Changes should only be “remembered” when the Apply or OK buttons are pressed. While I’m at it, the Cancel button should be deactivated (like the Apply button is) after Apply or OK are pressed, to indicate that no changes have been made that can be cancelled.

Back to Saving the Organize information. Now for the information on the Numbering Page. These are all simple integer or boolean values to save and retrieve. Pretty straightforward, just one fairly long line of code to save each and a slightly different long line of code to retrieve.

The next information to save are the GEDCOM tags. Here some of the code goes way back to 1996 and my first Pascal coding. It may take a bit of restructure to generalize it. One thing that is a bit different about saving these tags is that since there are a lot of tags, only the tags who have changed from their defaults should be saved. Also, if values that are defaults are not saved, then new defaulted values can be used in the future for any tags that are unmodified by the user.

No Comments Yet

Leave a Comment

You must login to comment.

Login to participate
  
       
Register   Lost ID/password?