Oleg Kobchenko wrote:
> There many things enumerated here. Let's deal with one at a time.
> 
> Could you give an example, when you show a form on
> click event on isigraph and the new form gets behind.
> 
> Also see Events demo, when the popup is perfectly on
> top after clicking on isigraph.
> 
> 

it works in the events demo because the pop up window is modal. forms with owner
or ptop will always in the front.

I notice isigraph already has an optional opengl class style, so will it be
possible to add another isigraph class style to enable/disable focus change? I
think this will solve most problems.

an example showing hiding form, this work up to the q beta
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 '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

Reply via email to