[futurebasic] Re: [FB] [FB^3] Timer Blink

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Sun, 19 Sep 1999 13:15:15 -0400
>Ken Shmidheiser wrote:
>
> > Any ideas how to get rid of the blink?


Rick's solution:


>In the more general case, the usual remedy is to define some global variable
>like "gTimerOff", which you can set to _zTrue when you want to de-activate
>the TIMER logic. Then your FN doTimer would look like this:
>
>LOCAL FN doTimer
>  LONG IF gTimerOff = _false
>    LONG IF WINDOW(_activeWnd) = 2
>      t$=TIME$
>      t$=LEFT$(t$,8)
>      EDIT$(3) = t$
>    XELSE
>      FN aboutWindow
>    END IF
>  END IF
>END FN


Thanks, Rick! Works perfectly.

(Why can't I be smart like you guys? ...And handsome, too!)

___________________________________________________________________
Ken Shmidheiser               Systems Administrator/General Manager

Internet: kshmidheiser@...    Fax:  606.679.9225
Somerset, KY 42502-0221                        Phone:  606.679.4266
___________________________________________________________________