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

Thursday, April 24, 2003 - Thu, 24 Apr 2003

Finally back to writing the code to save and retrieve the Tag information from the Organize pages. In order not to have to save hundreds of tags on every save, I set it up so that all default Tags (not user entered) that have not had their text or selection changed will not be saved in the Behold file. This complicates the routines somewhat, but has the advantage that I can change defaults in the future if necessary, and Behold file information will not override the default values unless the user has specifically entered something new.

I also found in my original (very old) Tag code, that my GetTag function would create and initialize a tag if it is not there. This now will no longer do as I make more widespread use of the Tag function. A general cleanup of all my Tag code was now in order and it should work better.

Doing some thinking, I came up with what I think is a simple yet powerful way to implement subtag data with a 2nd word in the Tag. E.G: ‘DATE’ is a the main tag, but ‘DATE ABT’ will look in the DATE tag for the word ‘ABT’ and change it to the appropriate defaulted or user-defined text, which in this case might be: “about”. I’ll add the code for this and include the default tags and subtags when I finish off Behold’s Everything Report.

No Comments Yet

Leave a Comment

You must login to comment.

Login to participate
  
       
Register   Lost ID/password?