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

Sunday, January 19, 2003 - Sun, 19 Jan 2003

First step: Try again to see if I can merge the saving to and loading from Behold file routines. This would make coding ultimately less error prone. But the call parameters for saving and loading .ini files are very much different. The parameters I am calling with are from my treeviews on my Organize pages and they are have their own wide/narrow string definition which the .ini files won’t take. Also, the parameter cannot be assigned a value if they are special variables from the treeview. Right now, it seems like it will be easiest if I don’t try to merge the routines. I’ll just have to be careful that the code for saving and loading is equal and opposite.

Now get the “Save” button on the Organize pages working. It can use the same code as the “Save As” command on the main form, which also saves Behold files.

While testing, found a problem: When unmarking a GEDCOM and applying, it gave an invalid integer error. This was simply fixed with by referring to the original GEDCOM number instead of the current one, which becomes null when unmarked.

Certain other problems also need fixing: again related to deleting GEDCOMS, saving and applying the changes. This actually has some pretty convoluted stuff linking GEDCOMS and their families, while taking into account the deleted and unchecked entries - tricky to get just right.

No Comments Yet

Leave a Comment

You must login to comment.

Login to participate
  
       
Register   Lost ID/password?