wd 'pshow sw_showmaximized;' results in an error when run under j.jar. This
is also true under J601.

Is sw_showmaximized only valid with j.exe"? It works fine under j.jar for wd
'pshow sw_shownormal;' then I can maximize the window.

|domain error: wd
|       wd'pshow sw_showmaximized;'
   wd'qer'
bad style : 0

The script:

ABC=: 0 : 0
pc abc;
menupop "File";
menu new "&New" "" "" "";
menu open "&Open" "" "" "";
menusep;
menu exit "&Exit" "" "" "";
menupopz;
xywh 136 8 44 12;cc ok button;cn "OK";
xywh 136 23 44 12;cc cancel button;cn "Cancel";
pas 6 6;pcenter;
rem form end;
)

abc_run=: 3 : 0
wd ABC
NB. initialize form here
wd 'pshow sw_showmaximized;'
)

abc_close=: 3 : 0
wd'pclose'
)

abc_cancel_button=: 3 : 0
abc_close''
)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to