---Alex Rufon wrote:
> So what do I have to change to make the form not show the minimize,
> maximize, restore and the close button on the caption?

The "nomax", "nomin", & "nosize" styles seem to be the right way to go, but 
while they seem to work ok for me in Jwdw sessions, I didn't have such a good 
experience with Jwdp.

J601 & J602 Jwdw
nomin and nomax seem to work fine. Used together the buttons are not displayed. 
Used singly, both are displayed but the specified one is disabled.

J602 Jwdp
nomin and nomax don't seem to do anything.
If I use nosize in Jwdp on Vista then the maximize button is displayed but 
disabled. Minimize still works.

J602 Jwdp on Ubuntu Linux
Similar to Jwdp on Windows except that nosize causes the maximize button to not 
be displayed not just disabled.


DICE=: 0 : 0
pc dice nomin nomax nosize;
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;
)

dice_run=: 3 : 0
wd DICE
NB. initialize form here
wd 'pshow;'
)

dice_close=: 3 : 0
wd'pclose'
)

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

Reply via email to