Ticket #1050: junk25-code.py
| File junk25-code.py, 421 bytes (added by johnf, 1 year ago) |
|---|
| Line | |
|---|---|
| 1 | # -*- coding: utf-8 -*- |
| 2 | ### Dabo Class Designer code. You many freely edit the code, |
| 3 | ### but do not change the comments containing: |
| 4 | ### 'Dabo Code ID: XXXX', |
| 5 | ### as these are needed to link the code to the objects. |
| 6 | |
| 7 | ## *!* ## Dabo Code ID: dTextBox-dPanel |
| 8 | def afterInit(self): |
| 9 | self.bindEvent(dEvents.KeyChar,self.Form.mykey) |
| 10 | |
| 11 | |
| 12 | |
| 13 | ## *!* ## Dabo Code ID: dForm-top |
| 14 | dabo.dEvents |
| 15 | |
| 16 | def mykey(self,evt): |
| 17 | print "i am here" |
