What did I miss?

Could not execute because an error occurred:
  invalid syntax: LotsMfrm1.py, line 131, pos 13:
        evt.continue()

def _lookup(self,evt):
        from dabo.ui import dKeys as dKeys
        if evt.keyCode == dKeys.key_F7 or evt.keyCode == dKeys.key_F4 or
evt.keyCode == dKeys.key_Return:
            thestr= self.Form.varietylookup(evt)
            return
        keyChar = evt.keyChar 
        if (keyChar in """,./<>?;':"[]\\{}|[EMAIL PROTECTED]&*()-_=+"""):
            evt.stop()

        evt.continue()

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul McNett
Sent: Tuesday, April 10, 2007 12:40 PM
To: Dabo Users list
Subject: Re: [dabo-users] Textbox - backspace, delete, left & right arrows
dont work

[EMAIL PROTECTED] wrote:
> I think I got it.  We had bound the keystrokes to test for a function-key
> but did not issue evt.super() for "normal" keystrokes.

evt.super() is never necessary. self.super() could be necessary if you 
have a superclass method handling the event as well. But usually, you 
just need to call evt.continue() which will negate a prior evt.stop().

-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]

-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.0.0/754 - Release Date: 09-Apr-2007
10:59 PM
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.0.0/754 - Release Date: 09-Apr-2007
10:59 PM
 


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: 
http://leafe.com/archives/byMID/dabo-users/!&!AAAAAAAAAAAYAAAAAAAAAGnwNn52Lj1DjDRaSGJwREHCgAAAEAAAADglOEGX3/[EMAIL
 PROTECTED]

Reply via email to