Problems with menu items and notebooks

"Alex Schenkman" <[email protected]> Tue, 8 Apr 2008 22:18:13 +0200
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
Hello:

I have been using commands with menu items before, using model.Background,
and they work fine.
Now I am trying to use a notebook component, and my menu commands are
ignored !?!
I can see the event in the message watcher, but I cannot catch it.

The only sample I've found using a notebook and the menu is in
tools/oneEditor/tabcodeEditor.py
They do not use 'commands' there but they use 'select' on menu items.

1) Is there any difference on commands handling when using a notebook?

2) How do I get the model.Backgound object from an event object within a
page?
In other words: I catch some event in a page, and I want to access some
variables from the notebook, that are shared between all pages.

Thanks in advance!

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users