Urgent: Using Layers
Posted: Thu Jan 19, 2012 8:25 pm
Hi,
I am trying to use the command CreateLayer, problem is I cannot get rid of the background colour.
CreateDisplay(1, {Color = #YELLOW)
CreateLayer(10,10,240,70, {Color = #BLACK, Mask, Layers = True} )
SelectLayer(1)
Cls()
SetFontColor(#RED)
TextOut(#CENTER,#CENTER,"hello")
EndSelect()
OpenDisplay(1)
ShowLayer(1)
Wait(200)
How do I get this simple example to simply show Red Text sat on a yellow display?
Require an answer asap... tonight would help!!
I am trying to use the command CreateLayer, problem is I cannot get rid of the background colour.
CreateDisplay(1, {Color = #YELLOW)
CreateLayer(10,10,240,70, {Color = #BLACK, Mask, Layers = True} )
SelectLayer(1)
Cls()
SetFontColor(#RED)
TextOut(#CENTER,#CENTER,"hello")
EndSelect()
OpenDisplay(1)
ShowLayer(1)
Wait(200)
How do I get this simple example to simply show Red Text sat on a yellow display?
Require an answer asap... tonight would help!!