Hi list,
I just want to ask what's best to use if I want to make an input form with various contols? I want the form to be modal. I looked at wxDialog but it looked to me to be rather inappropriate, because it seems to me that it is to be used only for simple asking questions like OK/Cancel and so on. Any help is greatly appreciated.
Kind regards,
gamehack
You can extend wx.Dialog as much as you want, with as many or as few
buttons as you wish. A host of default-ish dialogs are provided, but
they all come off of wx.Dialog itself.
Generally, you still check on the return value of ShowModal(), but
BEFORE destroying the dialog, you have to pull out the data in the
forms (this is also handy when they didn't fill it in properly - you
don't lose thier work). Implement your own GetData() function or
something that returns something edible (I generally return a dict in
my own implementations).
ยทยทยท
On Sun, 16 Jan 2005 21:58:29 +0000, Milen Dzhumerov <gamehack@1nsp1r3d.co.uk> wrote:
I just want to ask what's best to use if I want to make an input form
with various contols? I want the form to be modal. I looked at wxDialog
but it looked to me to be rather inappropriate, because it seems to me
that it is to be used only for simple asking questions like OK/Cancel
and so on. Any help is greatly appreciated.
--
============ wanna gmail account? email me ============
Best,
Jeff