Steve Litt wrote:
> Hi,
> 
> Do apps produced by Dabo allow use of keystrokes rather than mice? For 
> instance, if I was in a read-only grid, could I program it to arrow down to 
> the record I wanted, then press Ctrl+E to edit it in a form I'd programmed?

Yes, you could program it to do this. Something like:

class MyGrid(dabo.ui.dGrid):
   def afterInit(self):
     self.bindEvent(dabo.dEvents.KeyDown, self.onKeyDown)

   def onKeyDown(self, evt):
     if evt.EventData["controlDown"] and evt.KeyCode == ord("e"):
       self.Form.gridEdit()

And you'd program the method gridEdit() in your form to launch that other form 
you 
programmed.

Paul

_______________________________________________
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/[email protected]

Reply via email to