On the 803 release (Windows 7 32-bit), I have a form (the only important part is the last 4 lines):

FORM =: 0 : 0
pc dissect;
bin vh;
minwh 54 60;cc fmfontsize combolist;
minwh 24 12;cc lbl00 static;cn "Min Font";
bin s;
minwh 42 60;cc fmmaxnounsizex combolist;
minwh 80 12;cc fmmaxnounsizexlbl static;cn "Max Noun Width (% of scrn)";
bin s;
minwh 42 60;cc fmmaxnounsizey combolist;
minwh 80 12;cc fmmaxnounsizeylbl static;cn "Max Noun Height (% of scrn)";
bin s;
minwh 49 12;cc fmshowstealth button;cn "Show ][";
minwh 65 12;cc fmshowerror button;cn "Show Error";
bin z;
minwh 20 20;cc dissectisi isidraw flush;
bin z;
pas 0 0;
rem form end;
)

I then figure out how big the isidraw control needs to be.  I issue

wd 'set dissectisi wh <the new size>;'
wd 'pas 1 1;'

At this point the parent should be resized to make everything visible, right? It isn't. It stays at the original small size.

I then draw graphics into the isidraw. When I manually resize the window, the graphics are all visible.

In short, it seems that the pas has no effect. I tried following it with pshow, but that made no difference.


Henry Rich
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to