Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Problem with tutorial's Save File method

Help
2005-01-18
2013-05-01
  • Rodney Brown
    Rodney Brown
    2005-01-18

    I was learning how to use Boa, so I tried out the tutorial included in the Boa help docs (first "help" book icon on topmost toolbar)

    I finished the tutorial but I have found a problem when I try to save text.

    The subroutine checks to see if self.FileName has been set to a filename.  If not, it passes control over to the "Save As.." subroutine.

    However, it errors out and says that wxFrame1 does not have an attribute named "FileName".

    The only place FileName is set is in the "Open" and "Save As..." subroutines.

    So should FileName have been initialized somewhere?  I don't see this in the tutorial?