If you add moves to the controls you can get them moved and resized
automatically. If you wish to do more elaborate movements to the
controls it is not so easy. There is no resize event for a form. As
you mentioned you can use an isigraph control and handle its resize
event. I have at times used an isigraph control on a form just to get
the resize event.

Here is your form redefined with the moves.

DISPLAY=: 0 : 0
pc display dialog;
xywh 386 330 44 12;cc cancel button leftmove topmove rightmove
bottommove;cn "Close";
xywh 9 309 317 22;cc box edit topmove rightmove bottommove;
xywh 343 24 60 11;cc boxFormat radiobutton leftmove rightmove;cn "Box Format";
xywh 344 40 60 11;cc mathFormat radiobutton leftmove rightmove
group;cn "Linear Format";
xywh 344 55 60 11;cc treeFormat radiobutton leftmove rightmove
group;cn "Tree Format";
xywh 344 72 60 11;cc parenFormat radiobutton leftmove rightmove group;
xywh 333 11 95 80;cc format groupbox leftmove rightmove;cn "Display Style";
xywh 0 0 326 299;cc tdisp listbox ws_hscroll ws_vscroll
lbs_multiplesel rightmove bottommove;
pas 6 6;pcenter;
rem form end;
)
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to