setting panel color
Posted: Wed Jan 05, 2011 1:28 am
With the code below, the panel`s color should be RED.
But it seams to be transparent.
object f as form
center
width=screenwidth*(2/3)
height=screenheight*(2/3)
color=rgb(128,128,128)
object p as panel
width=f.clientwidth*(2/3)
height=f.clientheight*(2/3)
top=int((f.clientheight-(f.clientheight*(2/3)))/2)
left=int((f.clientwidth-(f.clientwidth*(2/3)))/2)
color=rgb(255,0,0)
end object
showmodal
end object
So is there something I am missig?