dlg.Destroy() behaviour
Cliff Wells
logiplexsoftware at earthlink.net
Mon Feb 25 18:26:53 EST 2002
On Mon, 25 Feb 2002 19:58:42 -0000
Duncan Smith wrote:
> Just a quick question about whether or not I need to destroy dialogues
> (wxPython) with dlg.Destroy(). When creating a number of
wxTextEntryDialogs
> in succession only the first dialogue gets the focus. I need a mouse
click
> to set the focus on subsequent dialogues. However, if I remove the usual
> 'dlg.Destroy()', then subsequent dialogues do get the focus. Is this
> advisable? If not, what is the neatest way of setting the focus on the
> subsequent dialogues? Thanks in advance.
I don't know if this works (never tried it on a dialog), but dlg.SetFocus()
?
--
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308 (800) 735-0555 x308
More information about the Python-list
mailing list