setting panel color

In this category you can exchange your programming questions and solutions.
Post Reply
Bob Hays
Posts: 26
Joined: Sun Oct 03, 2010 4:49 pm

setting panel color

Post: # 693Post Bob Hays
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?

Marco
Site Admin
Posts: 246
Joined: Sat Sep 15, 2018 8:41 pm

setting panel color

Post: # 694Post Marco
Fri Jan 07, 2011 4:41 pm

Hi, you can use the new compiler at the update section, the color problem will be fixed with it.

best regards

Post Reply