In active Scripting, I can Create Two Button Events Like

OnButton1()
OnButton2()

In Normal Python Com Event Handling: I have to declare two classes

class ButtonEvent1
    OnButton()
          ...


class ButtonEvent2
    OnButton()
          ...

and then attach this event handler to the Com Objects. Is there any way I can achieve it
just like the ActiveX Scripting without creating more EventHandlerClasses?

Thanks in advance.

Nawal





_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to