Re: Pythoncard-users Digest, Vol 20, Issue 1
"Tony Cappellini" <[email protected]> Sun, 6 Jan 2008 15:55:04 -0800
| Newsgroups | gmane.comp.python.pythoncard |
|---|---|
| Message-ID | <[email protected]> |
Where do you get the event object from, for an event that hasn't occurred? These are automatically passed to the handler by pythoncard. But, we cannot cal an event handler without passing an event object. >> def on_button1_mouseClick(self, >>>>> event <<<<<<<): >> self.on_button2_mouseClick(event) >>If that's all you want to do, then it's simply. Just >>make a call to that event handler. >>For instance: >> def on_button1_mouseClick(self, event): >> self.on_button2_mouseClick(event) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/