[Jprogramming] How to remove the Minimize,
Maximize and Closebutton on the J session?
Alex Rufon
alex_rufon at ist-systems.com
Wed Mar 12 11:25:56 HKT 2008
Hi Bill,
Thanks for the fast reply. The advantage of being in the same time zone.
;)
BTW, the parent tab is a new thing for me. I actually didn't know that
it was there! It's exactly what I need. :D
Oh, about the extra lines ... I'm using MS-Office 2007 and when I pasted
the code earlier ... it was fine. When I got it back from the list
server ... the extra blank lines are there. I'm thinking it MS-Outlooks
fault. ;)
Thanks again.
r/Alex
-----Original Message-----
From: programming-bounces at jsoftware.com
[mailto:programming-bounces at jsoftware.com] On Behalf Of bill lam
Sent: Wednesday, March 12, 2008 10:40 AM
To: Programming forum
Subject: Re: [Jprogramming] How to remove the Minimize, Maximize and
Closebutton on the J session?
Did you try all those styles in parent tab of form editor?
BTW the code you pasted has extra blank line for each line of code in my
thunderbird, you too?
Alex Rufon wrote:
> 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
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
More information about the Programming
mailing list