You are right that there is a distinction between focus (that enables keyboard events) and mouse events and the current scheme has mouse events forcing focus for keyboard events. I need to go back to the drawing board on this.

----- Original Message ----- From: "bill lam" <[EMAIL PROTECTED]>
To: "Beta forum" <[email protected]>
Sent: Tuesday, August 15, 2006 11:33 AM
Subject: Re: [Jbeta] j601rbeta_win.exe


Eric Iverson wrote:
Thought about your points on isigraph focus for a few more minutes and
realized the solution is probably already there. If you disable an
isigraph control it won't get any events and will perhaps behave the way you wish. Please try some experiments and let me know if you need more.

That is, before the pshow do a:
wd'setenable go 0'
to avoid focus and all other events on the control.


I'm afriad that is not my intention. I need all isigraph events except focus and focuslost (btw mwheel is really handy to use). For example mouse click on
disabled isigraph can not open a new form.

NB. =========================================================

FM=: 0 : 0
pc fm;
xywh 0 0 350 300;cc g isigraph;
pas 3 3;pcenter;
rem form end;
)

CF=: 0 : 0
pc cf;
xywh 0 0 200 200;cc h isigraph;
pas 3 3;pcenter;
rem form end;
)

fm_run=: 3 : 0
wd FM
NB. initialize form here
wd'setenable g 0'
wd 'pshow;'
)

fm_close=: 3 : 0
wd'pclose'
)

fm_g_mbldown=: 3 : 0
wd CF
NB. initialize form here
wd 'pshow;'
)

cf_close=: 3 : 0
wd'pclose'
)

fm_run ''
NB. =========================================================


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

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

Reply via email to