[wxPython-users] Re: having a dialog box spawn another dialog box?
Christopher Barker
Chris.Barker at noaa.gov
Wed Oct 25 14:40:01 PDT 2006
Andrea Gavana wrote:
> It might be possible, but I don't know the solution to that problem.
> Usually, when I want this kind of behavior, I just design my own
> dialog/stay-on-top frame (as simple as the TextEntryDialog), in which
> I could use validators or other means (rudely checking values in the
> code). Maybe it is possible to use validators on TextEntryDialog, but
> I have no idea about that. Maybe someone smarter than me will propose
> a better solution.
I don't think so. If you write your own dialog, rather than using a
standard one, you can have an "OK" button bound to whatever you want. It
can check the input values and pop up another dialog if need be, or
close itself if not.
-CHB
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list