Pageframe color problem

I'm having a problem with using a pageframe. The problem is that I can't set the backgroundcolor properties of any of the pages. It defaults to 236.233.216 which is a some kind of pink but it shows as a light grey. I can change it but it stays light grey. I've tried this on a few differant computers. Very wierd. Anyone have any info on this

Thanks


Answer this question

Pageframe color problem

  • Guy F

    What version

    Sounds weird, mine does not do this in 7, 8 or 9.

    Are you coding the background color or using the PEM



  • Nick Shen

    Dennis,

    Do you have Themes set to .T. for that PageFrame (WinXP)   If you do, you are likely to see some strange behaviors from time to time, and many (if not most) VFP developers set Themes to .F. in their base PageFrame class.  If so, try setting Themes to .F. for the PageFrame, and you will most likely see your Page.BackColors respected.

    BTW, that 236,233,216 default color is not really pink, although it comes up that way in the GetColor() dialog from the Properties Sheet -- enter this in the Command Window:
    _Screen.BackColor = RGB(236,233,216)
    In the GetColor() dialog, I guess that pink color is what it considers the closest match to that particular color, which doesn't match any of the default colors.


    Drew Speedie
    VFP MVP

  • Orniana

    That's it! I don't know how it got set this way. It was working fine before but now that I know what the cause is I 'm not worried.

    Thanks for the help. Very much appreciated.

  • Pageframe color problem