When there is attribute topmove,
    and there is a status bar.
Result: top of groupbox is moved down;
    buttons invisible.
 
F=: 0 : 0
pc f;
sbar 2;
sbarset st1 50 "qq";
sbarset st2 50 "zz";
sbarshow;
xywh 6 7 162 33;cc g1 groupbox topmove bottommove;cn "Group";
xywh 13 20 34 11;cc b1 button topmove bottommove;cn "One";
xywh 55 20 34 11;cc b2 button topmove bottommove;cn "Two";
pas 6 6;pcenter;
rem form end;
)
f_run=: 3 : 0
  wd F
  NB. initialize form here
  wd 'pshow;'
)
f_close=: 3 : 0
  wd'pclose'
)
f_run''

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

Reply via email to