How about sending another send in time message to change the global after 5
seconds?
I haven't tried itand there may be a more efficient way to code this but I
think it should work.
The only thing is you will have quite a number of unneeded calls of the
secondTimer. To overcome this you need to
Le 17 nov. 2010 à 19:45, Ian McKnight a écrit :
How about sending another send in time message to change the global after 5
seconds?
I haven't tried itand there may be a more efficient way to code this but I
think it should work.
The only thing is you will have quite a number of unneeded
Hi Yves
Try moving the lines
send secondTimer to me in 5 Sec
-- record the message ID
put the resultcr after myPendingMessages
out of the handler altogether, placing it immediately before the place where
the main call to toggleexercice is made.
This should mean that a timer is started as soon
Le 17 nov. 2010 à 21:26, Ian McKnight a écrit :
Hi Yves
Try moving the lines
send secondTimer to me in 5 Sec
-- record the message ID
put the resultcr after myPendingMessages
out of the handler altogether, placing it immediately before the place where
the main call to toggleexercice
Le 17 nov. 2010 à 21:26, Ian McKnight a écrit :
Hi Yves
Hi Ian,
I have noticed that
command secondTimer
global gEndFlag
if gFlagEnd is false then put True into gFlagEnd
end secondTimer
this command is well activated after 5 secs but the fld doesn't disappear
something misses !
Le 17 nov. 2010 à 21:26, Ian McKnight a écrit :
Hi Yves
Try moving the lines
send secondTimer to me in 5 Sec
-- record the message ID
put the resultcr after myPendingMessages
out of the handler altogether, placing it immediately before the place where
the main call to toggleexercice
Glad to be of help.
On 17 November 2010 21:25, Yves COPPE yvesco...@skynet.be wrote:
Le 17 nov. 2010 à 21:26, Ian McKnight a écrit :
Hi Yves
Try moving the lines
send secondTimer to me in 5 Sec
-- record the message ID
put the resultcr after myPendingMessages
out of the
Hi Yves, You could use
if the mouse is Down
inside the repeat loop - which works pretty well. Or if you need more
control, and the field is locked, you can trap a mouse event say mouseUp and
set a flag that the repeat loop checks?
On 16 November 2010 20:43, Yves COPPE yvesco...@skynet.be
Hi Yves
I did the following which I think gives you the behaviour you want:
Create a stack with a scrolling field and a button.
Lock the text of the field so that it can respond to mouse clicks.
Put this in the script of the field (called Display)
global gEndFlag
on mouseup
put true into
Le 16 nov. 2010 à 22:25, Ian McKnight a écrit :
Hi Yves
I did the following which I think gives you the behaviour you want:
Create a stack with a scrolling field and a button.
Lock the text of the field so that it can respond to mouse clicks.
Put this in the script of the field
10 matches
Mail list logo