[futurebasic] Re: [FB] re:Animated Cursor

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2002 : Group Archive : Group : All Groups

From: Alain Pastor <apastor@...>
Date: Wed, 27 Feb 2002 14:27:56 +0100
Bowerbird@... wrote:
> 
> alain said:
> >   I don't know if it is a good advice, but perhaps animated cursor
> >   could be realized with a time task, like in the program below
> 
> what is this?, a 3-screenful source code that animates a cursor?
> isn't there a one-line keyword command to do this?
> 
OK, first, I wanted to know if the technique was possible.
In a real project, all you have to do is to build a tiny include
file containing the Toolbox declarations, the proc and two very
short fns for the installation of the time task and the other for
the management of cursor changes.
Then, in your program all you need to do is first install and
trigger the time task at initialization time. Afterwards, any time
you need a busy cursor because the flow of the program is going to
enter an heavy task loop, you just have to set the busyflag to true
and of course set it back to false when the job is finished.

Now, I believe that Robert C. gave another solution to play acur
resources with Toolbox calls, didn't he?
I have not tried yet this possibility.

At last, the new Appearance Runtime, coming with the next release,
will have an enhanced CURSOR statement allowing us to play animated
cursors with a single statement:
CURSOR _kThemeWatchCursor,_themeCursorAnimate

> maybe there's something i'm missing.
> probably.  even still,
> sometimes i worry about you, alain...           :?)
> 
OK, I must be crazy... Thank you for your assistance and your
concern ;-)
-- 

Alain

-----------------------------------------------------
FB^3 in Europe:  http://euro.futurebasic.com/
FB II Pouch:     http://www.pixmix.com/FB/outils.html
-----------------------------------------------------