The J8 Standalone guide has now been updated for J802.
On 7/20/2014 11:58 PM, Don Guinn wrote:
Yes, I see how it can be quite useful. I tried it with a form. There is a
similar situation where doing a Find, say in the edit window, that one has
to select back to the edit window very carefully to get the found string to
be highlighted. The edit form needs a similar tool.
On Sun, Jul 20, 2014 at 5:45 PM, bill lam <[email protected]> wrote:
smact is used inside labs to transfer focus back to term after creating a
new form. This is just for convenience and not mandatory so that the cmd
may be dropped.
On Jul 21, 2014 5:32 AM, "Don Guinn" <[email protected]> wrote:
OK. Thanks.
What about "fixed" as in:
cc editname edit;set editname fixed 60;
Is it supposed to be gone or did it get accidently dropped?
What does (wd 'smact') do?
On Sun, Jul 20, 2014 at 3:26 PM, chris burke <[email protected]>
wrote:
...pops up when the form is closed. I could put "exit 0" in a close
event
for the form, but that doesn't seem like a good way to solve the
problem.
J6 had an option that when the last window closed J closed. That
doesn't
seem to be J8 works.
Right now you have to use "exit 0" at the end. This was an oversight
and
is
fixed in the next binary - i.e .J will close when the last window
closes.
On Sun, Jul 20, 2014 at 11:51 AM, Don Guinn <[email protected]>
wrote:
Trying to figure out how to prevent the ijx window from appearing for
making standalone applications. I found an example in Wiki Guides/ J8
Standalone. But the zip file of the project build for the application
missing -(http://www.mcardle.wisc.edu/mprime/download/viewer-1.zip).
I downloaded the installer of it for Windows and it ran; however, it
is
for
an earlier version of J (5/14/2013) and browsing viewer.ijs is rather
difficult and it crashes the current version of J.
So I have a few questions.
Obviously, what happened to that zip file?
Is there a way to tell if the development environment is displayed? I
can
use (wd 'ide hide') to hide it and (wd 'ide show') to hide and show
it.
The
viewer.ijs used a name "IDE" to tell, but that name is no longer
defined.
A test script below which runs a simple form does not show ijx until
the
form closes.
The script _________________
wd 'pc test closeok;pn "Test"'
wd 'cc xx static; cn "Text here"'
wd 'pshow'
wd 'ide hide'
End of Script __________________
I went into Windows Associate a file type and told it that file type
.ijs
should run jqt.exe to run the above as standalone. If I remove the
"ide
hide" the IDE shows up immediately, so the hide helped. But then the
IDE
pops up when the form is closed. I could put "exit 0" in a close
event
for
the form, but that doesn't seem like a good way to solve the problem.
J6
had an option that when the last window closed J closed. That doesn't
seem
to be J8 works.
Next question:
The viewer description also mentioned using "fixed" to help control
the
size of something.
cc editname edit;set editname fixed 60;
It isn't in the current J.
There is a new wd command and verb not documented - "smact". It
simply
runs
the wd command with the argument "smact". It is not documented in
"Driver
Command Reference". What does it do? In the viewer.ijs script the
verb
"smact" was defined quite differently as a cd call.
I am not trying to build apps for distribution and to run on all
systems. I
am trying to find a way to make standalone J apps to be used on a
system
with J8 already installed.
----------------------------------------------------------------------
For information about J forums see
http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm