J602 JWD question...

   JVERSION
Installer: j602a_mac_intel.dmg
Engine: j602/2008-03-03/16:45
Library: 6.02.056

Myapp plots some data. Doing so creates the Plot window and leaves it
on top, ie as the currently selected window.

How do I bring the myapp form to the top again, by a statement in the code?

I had hoped that this would do the trick:
   wd 'psel myapp; setfocus input'
--where input is the id of an edit control on the form: myapp.

But it doesn't: the Plot window remains firmly on top.

This is more important on the Mac than it is in MSWin (...after all,
you can always click the myapp form), because Mac windows don't carry
separate menubars, and whichever window is on top determines the
menubar that shows at the top of the screen -- and with it the
keyboard / hotkeys behavior.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to