Modal Frame?

Phillip Watts wrote:

Is there an equivalent to ShowModal() for a frame?

That would certainly be nice. Right now a user can minimize the payment window and go back to the sales entry and screw up all
kinds of logic.

Thanks.

BTW, the learning curve is tough but this is starting to be fun.

Why not just subclass wx.Dialog and do it that way? That's what I do. I have a custom login screen derived from wx.Dialog.

Of course, you may be able to work around this by using focus events and re-focusing back on to the payment window (in the focus handler) based on some condition, such as it not being filled out.

And I agree! wxPython is fun! I had a little trouble getting my head around it, but I thought it was more straight-forward to my way of thinking than Tkinter was...probably because my first language was C++...

Mike