for this function:

   def onHit_btnOk(self):  
       print "OK button clicked."

i forgot the "evt" argument and got an error msg like this:

Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\dabo\lib\eventMixin.py", line 97, in
raiseEvent
    bindingFunction(event)
TypeError: onHit_btnOk() takes exactly 1 argument (2 given)

the last line of error msg should be:
TypeError: onHit_btnOk() takes exactly 2 arguments (1 given)?



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to