[Jprogramming] How do i Maximized the J window using the
"wd"command
Alex Rufon
alex_rufon at ist-systems.com
Thu Aug 3 11:42:07 HKT 2006
Hello Bjorn,
This code was designed to be executed just after creating an COM instance of the J.EXE. You see, if you just create an instance of J.EXE ... it will not display any form or window, so you have to load that script pragmatically into your J session then execute showJ method.
I'm actually making a WIKI entry on a step by step description of loading J and executing your J scripts using C# and VB.NET.
r/Alex
-----Original Message-----
From: programming-bounces at jsoftware.com [mailto:programming-bounces at jsoftware.com] On Behalf Of Björn Helgason
Sent: Thursday, August 03, 2006 4:26 AM
To: Programming forum
Subject: Re: [Jprogramming] How do i Maximized the J window using the "wd"command
copying this into J601 and trying to open it in the form editor gives
error in: form_g_paint
value error: draweditijx (>d_index{fns})~d
2006/8/2, Alex Rufon <alex_rufon at ist-systems.com>:
>
> Hello.
>
> I'm working on an in-house J IDE (please see attached image) where I
> embed J into a .NET form.
>
> The problem with this is that the J Window itself can be resize and
> mucks up the "resize" event. I use the following code to show the J
> window
>
> NB. =========================================================
> JIJX=: 0 : 0
> pc pjijx;
> xywh 0 0 250 150;cc e editijx ws_hscroll ws_vscroll es_nohidesel
> rightmove bottommove;
> pas 0 0;
> rem form end;
> )
>
> NB. =========================================================
> showJ=: 3 : 0
> if. 1 e. 'jijx' E. wd 'qpx' do. return. end.
> create''
> )
>
> NB. =========================================================
> create=: 3 : 0
> wd JIJX
> wd 'pn *',pname''
> wd 'setfont e "Lucida Console" 11 oem'
> wd 'pshow'
> )
>
> NB. =========================================================
> pname=: 3 : 0
> 'Session Server'
> )
>
> So my question is, what do I change to open the window Maximized and how
> to I remove the Minimize, Maximize/Restore and Close button on the upper
> right hand corner of the J window?
>
> Thanks for any help.
>
> r/Alex
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
>
--
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23,
Skype: gosiminn, gsm: +3546985532
801 Grímsnes ,t-póst: gosinn at gmail.com
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming
Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans
góður kennari getur stigið á tær án þess að glansinn fari af skónum
/|_ .-----------------------------------.
,' .\ / | Með léttri lund verður |
,--' _,' | Dagurinn í dag |
/ / | Enn betri en gærdagurinn |
( -. | `-----------------------------------'
| ) | (\_ _/)
(`-. '--.) (='.'=)
`. )----' (")_(")
More information about the Programming
mailing list