Completed new Import Categories function
Posted by mholmes on 30 Jan 2007 in Activity log
Completed the function requested by Claire for importing categories from an existing file. I ended up taking a slightly different approach from the one I'd predicted: I now create a TIMTDoc object to read the file, which is simpler than creating a standalong TAnnCatList. Since this TIMTDoc is not linked to any TImgView32 component (it's only used for manipulating data), I created it passing nil for the image component; this necessitated adding a check when freeing it, because it attempts to clear the layers of the image component during its Empty method. That was the only change necessary, though.