[comp.lang.smalltalk] Help wanted: Panes and Windows

ams@idec.stc.co.uk (Tony Maynard-Smith) (12/19/89)

 I have the following problem with Smalltalk/V286 and would appreciate any
 help.   Please reply by mail since any postings over Xmas will probably fall
 off the end of the world before I get back to look at them.

 I have an application which opens a window, creates 9 SubPanes in it and 
 draws a picture in each.  I want a menu option which expands the current
 SubPane to occupy the whole window so that more of the picture can be seen,
 and another to shrink it back again.

I have tried sending framingRatio: to the SubPane concerned which does 
something to the size, but has two problems:

1.  It only seems to take effect when the window is resized.

2.  The SubPane remains in its normal place in the display sequence, and does 
    not overlay all the others.

Can anyone tell me (a) how to cause the change in size to take effect at once,
and (b) how to get the pane concerned to the top?

With thanks in advance.

Tony Maynard-Smith.