In java, sysfocus is incorrect. It should be child currently focused, but in it java just return the name of fkey.

NB. =========================================================
cocurrent 'base'
TEST=: 0 : 0
pc test;
xywh 0 0 60 12;cc ed1 edit;
xywh 0 20 60 12;cc ed2 edit;
pas 6 6;pcenter;
rem form end;
)

test_run=: 3 : 0
wd TEST
NB. initialize form here
wd 'pshow;'
)

test_close=: 3 : 0
wd'pclose'
)

test_jctrl_fkey=: 3 : 0
1!:2&2 wdq
)

test_jctrlshift_fkey=: 3 : 0
1!:2&2 wdq
)
NB. =========================================================

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to