Linda

  Your script behaves as expected here, under J601, Win XP SP2 up-to-date.
Of course that is after adjusting for toucan and jbox.

  What is the problem?

Gilles


---------- Original Message -----------
From: [EMAIL PROTECTED]
To: [email protected]
Sent: Wed, 2 Jan 2008 22:28:03 EST
Subject: Re: [Jbeta] The real 'setfocus' mystery

> Here is a simpified version without  mplayer .  However it is still 
> necessary to activate   the  1  button:
> 
> require 'bmp gl2'
> 
> study_g_paint=: 3 : 0
> glpixels_jgl2_ (0 0,|.$DAT),,DAT
> )
> 
> STUDY=: 0 : 0
> pc study closeok;
> )
> 
> study_P0_button=: 3 : 0
> wd STUDY
> u=: 'xywh  0 0 32 30;cc P1 button;cn 1;' 
> v=: 'xywh 32 0 32 30;cc P2 button;cn 2;'
> AA=:u,:v
> wd AA
> wd 'pshow;ptop'
> DAT=: readbmp 'c:\jsoftware\j602\system\examples\data\toucan.bmp'
> DAT=:256 #.  [256 256 256 #: DAT
> wd Q=:'xywh ',(":40 40 120 100),' ;cc g isigraph'
> wd 'pas 0 0'
> NB.wd 'winexec "c:\jsoftware\j602\lla\mplayer2.exe 
> c:\jsoftware\j602\lla\00will.wav";'
> wd 'setfocus P1;'
> )
> 
> study_P1_button=: 3 :0
> DAT=: readbmp 'c:\jsoftware\j602\system\examples\data\jbox.bmp'
> DAT=:256 #.  [256 256 256 #: DAT
> wd Q
> NB.wd 'winexec "c:\jsoftware\j602\lla\mplayer2.exe 
> c:\jsoftware\j602\lla\01will.wav";'
> wd 'setfocus P2;'
> )
> 
> study_P0_button ''
> 
> **************************************
...
------- End of Original Message -------

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

Reply via email to