Hi,
I'm trying to find a combination of
wx.Frame styles that can give me the following behaviour:
You should be able to call Raise() on the 2nd frame which should put it
in front of the first frame, although not necessarily centered on top of
it. Then you'll be able to click the 1st frame and bring it to the front.
This use case sounds kind of weird though. Most of the time when I have
my application open a secondary frame, I make the secondary frame into a
modal dialog.
I'm not aware of a way to change a frame's style after it is created.
Why do you want to do that?
-------------------
Mike Driscoll
Blog: http://blog.pythonlibrary.org
Python Extension Building Network: http://www.pythonlibrary.org
Hi Mike,
Implementing what you suggest (I
think) does not give me the expected results.
Namely, when OnItemSelected is activated and creates a new instance of
ListControl, the parent is on top, even though
there's a Raise() on the child.
Thanks,
Ron.
Also, don't shadow the builtin "list" function. That will probably bite
you later...
<code>
list = [1,2,3]
>>> x =list(4,5,6)
Traceback (most recent call last):
File "<pyshell#10>", line 1, in <module>
x =list(4,5,6)
TypeError: 'list' object is not callable
</code>
Hi Mike,
Implementing what you suggest (I think) does not give me the expected results.
Namely, when OnItemSelected is activated and creates a new instance of ListControl, the parent is on top, even though there's a Raise() on the child.
Could you point what I'm doing wrong ?