From: <kc1...@ya...> - 2006-09-20 23:09:15
|
If that's the case, may be I can accomplish what I need to do by getting the gainFocus event of the main window. I did try that before but the problem is that if I capture the event by doing an on_mybgWindow_gainFocus, a lot of things no long works (like list objects don't scroll open anymore). I am suspecting that when I capture the gainFocus event and do some processing, I need to send the same event back to the system somehow. In other words, I need to "sandwich" my code into the event queue - rather then "robbing" the event. (That's what needs to be done in other GUI packages I used to use). How do I do that in PythonCard? Thanks, Alex Tweedly wrote: > kc1...@ya... wrote: > >> Thanks for the reply. >> >> No, I know how to get it when an menuItem is clicked. >> >> I need it when the menu itself is clicked. >> >> >> >> > I don't think it is possible - certainly nothing shows up in the MessageWatcher. > > It may be possible to use some wxPython facility directly - but I didn't see anything helpful in a quick scan through the wxPython docs. > -- John Henry |