[futurebasic] Re: [FB] Transparent TextBox

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

From: Alain Pastor <pixmix@...>
Date: Sat, 12 Oct 2002 10:17:57 +0200

Alain Pastor wrote:
> 

> OK, here is a little example (not tested in OS X):
> 

OOPS!
fn doTest should read like this:

local fn doTest
'~'9
   dim wPtr     as .CGrafPort
   dim gridPict as ..Picture

   gridPict = fn CreateGrid

   window 1,"test"
   color _zRed
   text _times,36,_boldBit%,_srcOr

   wPtr = window( _wndPort )
   long if wPtr
     wPtr.filler = _jLeft
     do
       fn ShowMe( gridPict ) : delay 3 * _sec
       wPtr.filler++
     until wPtr.filler > _jFull

     EraseRect( wPtr.portRect )
     color _zBlack : print "That's all folks!"
   end if

   if gridPict then KillPicture( gridPict)

end fn

-- 
Cheers,

A. Pastor