On Feb 4, 2011, at 12:13 PM, Ricardo Araoz wrote:
> Done. Opens the Find/Edit dialog and when I hit the find button I get :
>
> 2011-02-04 14:03:56 - ERROR - Active control isn't text-based.
>
> Tried placing a self.Editor.setFocus() before the call but same results.
OK, I keep forgetting that buttons get focus in non-Mac apps. You might
need to time the events a little better; maybe something like:
def onHit(self, evt):
self.Editor.setFocus()
dabo.ui.callAfter(self.Application.onEditFind, evt)
> BTW, in the Find/Edit dialog the button's captions appear in Spanish but
> the labels of the edit boxes, check boxes and radio lists come up in
> English.
I'm surprised that any of it comes up in Spanish; I imagine that the wx
code is either a) partially localized or b) there are only translations for the
button text and not the others.
-- Ed Leafe
_______________________________________________
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]