Is it possible to use a Validator with the text field in a TextEntryDialog? The only time I've used a validator was by passing it as an argument in a TextCtrl constructor, and this doesn't seem possible when using a pre-definied dialog like TextEntry.
Is it possible to use a Validator with the text field in a TextEntryDialog?
Yes and no. To be safe you'll want to make your own dialog to use validators, as the implementation of the TextEntryDialog could change in future releases, or even in different ports in the same release, and then your app would break. Also, some of the standard dialogs are not real wx.Dialogs and so you have no access to their guts.
ยทยทยท
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!