Bill,

Your code is performing slightly better for me than before in that
less often do I see the "dead" graphics window after closing it. But I
still get it when I cycle my window using the keystroke chord Cmd+` to
go to the next window which was the graphics window before I closed
it. If after closing the graphics window, I use the reverse
directional chord Cmd+Shift+` then I get to my ijs window just fine
and can issue the next J/tgjs command without a problem.

I think that behavior is acceptable.

I am not having the problem you mention where the motion keys won't
stop working. If anything I am having the opposite problem. The motion
keys will not repeat when I hold down the key; I have to press the key
again and again. But that is a small price to pay.

Thanks so much, again for your patient and considerable help.


On Sat, Nov 10, 2012 at 7:32 PM, bill lam <[email protected]> wrote:
> Brian,
>
> you forgot to remove the closeok flag as what I suggested, that is the
> reason why opengl_close had not been called.  Some modifications to
> your codes.
>
>
> (remove the closeok)
>
> OPENGL=: 0 : 0
> pc opengl;pn tgsj;
>
> (in the tgsj_run)
>
> try.
>   wd 'psel opengl'
>   glsel 'g'
>   opengl_close ''
> catch.
> end.
> assert. 0=#ogl
>
> (smoutput just added for debugging)
> opengl_close=: 3 : 0
> smoutput 'opengl_close'
>
> I noticed that opengl figures cannot not stop once set moving by
> pressing the arrow keys, but I know very little opengl to pursuit
> it further.
>


-- 
(B=) <-----my sig
Brian Schott
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to