Page 1 of 1

setting panel color

Posted: Wed Jan 05, 2011 1:28 am
by Bob Hays

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?

setting panel color

Posted: Fri Jan 07, 2011 4:41 pm
by Marco
Hi, you can use the new compiler at the update section, the color problem will be fixed with it.

best regards