You can pass a None down.
As I said before, as long as you are not using more
advance form of doing things, you should be ok.
Be careful about calling events from on_initialize
because the components might not have been created
yet.
--- Tony Cappellini <cap...@gm...> wrote:
> 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)
>
--
John Henry
|