#1061: dComboBox.Hit not firing (was: dComboBox.AppenEnter not working)
-------------------------------+--------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: paul
Type: defect | Status: new
Priority: major | Milestone:
Component: ui | Version: 0.8.x
Resolution: | Keywords: dComboBox AppendEnter
-------------------------------+--------------------------------------------
Comment (by ed):
Here's the code I used to test this. Seems to work fine for me.
{{{
import dabo
dabo.ui.loadUI("wx")
import dabo.dEvents as dEvents
class TestForm(dabo.ui.dForm):
def afterInit(self):
self.cmb = dabo.ui.dComboBox(self, OnHit=self.cmbHit,
Choices=["Apple", "Banana", "Carrot"])
self.cmb.AppendOnEnter = True
def cmbHit(self, evt):
print "combo hit: %s" % self.cmb.Choices
def main():
app = dabo.dApp()
app.MainFormClass = TestForm
app.start()
if __name__ == '__main__':
main()
}}}
--
Ticket URL: <http://svn.dabodev.com/trac/dabo/ticket/1061#comment:3>
Dabo <http://svn.dabodev.com/trac/dabo>
Trac Page for Dabo
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]