Menu

#204 Tutorial Code Dosen't Run Properly

open
nobody
None
5
2004-09-09
2004-09-09
catter
No

I am using Boa 0.3.1 with wxPython 2.4.2.4.
I have been trying to do your tutorial. I had just
finished adding the menus and ran the code.
The menus will not drop down. The only thing that
happens is when the mouse cursor is positioned over say
'File' it appears depressed as if it were a push button.
Samples that came with the wxPython package work fine.

Ed

Discussion

  • catter

    catter - 2004-09-10

    Logged In: YES
    user_id=1112383

    My head was up and locked guys - I sincerely apologize! I
    went over the tut a second time and found my mistake.
    Again, I apologize.

     
  • Nobody/Anonymous

    Logged In: NO

    actually he was right...but later in the tutorial.
    the code you are told to look for (to edit it) is:

    OnFileitems0Menu(self, event):
    WRONG...shd be:
    OnMnuFileItems0Menu(self, event):

    pass
    WRONG...shd be:
    event.Skip()

    The save as menu item was item2
    WRONG...shd be:
    The save as menu item was item1

    so the code is off from there on!!!
    you have to debug the tutorial inorder to do the
    tutorial...LAME!!

     

Log in to post a comment.