Hi,
I want to be able to use a wxFrame like a wxDialog box with ShowModal behaviour ie. it stops the program from continue to run in the background … what would be the best way to achieve this?
thanks in advance
Ben C
Hi,
I want to be able to use a wxFrame like a wxDialog box with ShowModal behaviour ie. it stops the program from continue to run in the background … what would be the best way to achieve this?
thanks in advance
Ben C
Ben Catanzariti wrote:
Hi,
I want to be able to use a wxFrame like a wxDialog box with ShowModal behaviour ie. it stops the program from continue to run in the background ... what would be the best way to achieve this?
wxFrame has a MakeModal method. When called it will return immediately instead of waiting for the frame to close as ShowModal does for dialogs, but the effect as perceived by the user is about the same.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
Sorry to bring this up again ... but is there any updates on a wxPython
book?
thanks
Ben C
Thanks Robin
----- Original Message -----
From: "Robin Dunn" <robin@alldunn.com>
To: <wxPython-users@lists.wxwindows.org>
Sent: Friday, November 15, 2002 1:23 PM
Subject: Re: [wxPython-users] Setting wxFRAME to ShowModal
Ben Catanzariti wrote:
> Hi,
>
> I want to be able to use a wxFrame like a wxDialog box with
> ShowModal behaviour ie. it stops the program from continue to run in the
> background ... what would be the best way to achieve this?
>wxFrame has a MakeModal method. When called it will return immediately
instead of waiting for the frame to close as ShowModal does for dialogs,
but the effect as perceived by the user is about the same.--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
Ben Catanzariti wrote:
Sorry to bring this up again ... but is there any updates on a wxPython
book?
We're preparing a proposal to go to a publisher...
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!