Hi.

 

I'm still using J601 since I still can't fix the "file not found error"
in the script verb definition when loading a stand-alone script without
a profile then loading the profile.
http://www.jsoftware.com/pipermail/programming/2008-March/009967.html

 

So my new question is how do I open a new J session or window or a form
without a Minimize, Maximize or a Close button on the caption? 

 

Supposedly, using this definition, 

JIJX=: 0 : 0

pc pjijx nomax nosize;

xywh 0 0 250 150;cc e editijx ws_hscroll ws_vscroll es_nohidesel
rightmove bottommove;

pas 0 0;

rem form end;

)

 

create=: 3 : 0

wd JIJX

wd 'pn *',pname''

wd 'setfont e "Lucida Console" 11 oem'

wd 'pshow'

)

 

Calling create should give me a form without a maximize button ... but I
still do. <head scratching>

 

Ok. Let me put this another way, if I create a new base form using the
form editor, I would get something like this:

DICE=: 0 : 0

pc dice;

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''

)

 

So what do I have to change to make the form not show the minimize,
maximize, restore and the close button on the caption?

 

Thanks.

 

r/Alex

 

 

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

Reply via email to