Ed Leafe wrote:
> On Sep 21, 2008, at 6:12 PM, Paul McNary wrote:
> 
>> From within a grid.
>> What I am needing to do is catch the TAB key event, which I am doing.
>> Then I want to setFocus to a textbox on the form.
>>
>> I catch the TAB with onKeyDown, then I do the
>> self.Form.txtbxXX.setFocus()
>> When I'm done it is still in the grid.
>> I've tried evt.stop() in the onKeyDown but can't seem to
>> figure out how to get out of the grid
> 
> 
>     On my way out at the moment, so I can't test, but try this: in the 
> KeyDown event handler, try issuing:
> 
> evt.stop()
> 
>     That should prevent the event from being passed to the wx layer.
> 
> -- Ed Leafe
> 
> 
> 
> 
> 
Hello

After evt.stop() and dabo.ui.callAfter() for the setFocus, I've pretty well got 
what I want.

Thanks

Paul McNary
[EMAIL PROTECTED]


_______________________________________________
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