Franz Steinhaeusler wrote:
I’m having trouble with getting a sash window to resize
correctly when the sash is
moved. I’m confident it’s something silly that I’ve messed up.What exactly happens?
Thank you for the reply.
The application starts.
A blank window is created in an MDI on Windows.
The new blank window has two panes separated by one horizontal sash (I may not
be using wx terms correctly btw).
I can move and resize the document window.
The upper pane stays (in the document window) the same height, the lower pane
changes height.
When I try to move the sash, the highlight of the sash moves interactively.
When I release the sash in a new position the highlight disappears and the
sash does not move.
I did bind a function to the sash moving
event.
The callback (bound function) does get called (a debug printout shows it being
called).
I call self.topGuideWindow.SetDefaultSize((1000, event.GetDragRect().height))
which is what I used when I had the pane in the top window frame.
Fyi, the sash pane (upper) is one that I had implemented as part of
the top window frame and I’m trying to move it so that
it appears at the top of each MDI document view window.
···
dseroute-wxpython@yahoo.com wrote: