Jump to content
xisto Community
Cena_54

Delphi Panels Help I need help with the colour of panels

Recommended Posts

Right, first off, I have three forms, FrmSplash = Splash Screen, FrmPassword = Username/Log-In Screen and FrmMain = The main form. On all three of those forms I have the colour of the forms set to clBlack. on FrmMain, I have input many panels which contain text, and I have set a few of them to clBlack with a border around, and the rest of those, to clGrey with borders around also.

 

In design view, the form looks perfectly ok, however, when I run the program, the panels which are grey, actually turn out to be black. I have tried changing the panels to red, blue, green, yellow etc, but at runtime they stay black.

 

I have tried putting the panels in different colours on the other forms also, but on runtime they stay black.

 

However, if I create a new application, I do the same with the panles and change the colour, and at runtime they are the colour specified, red, blue etc rather than black.

 

there must be something in my code or whatever which is preventing the colours being shown at runtime.

 

Please help me, this is a real problem which I need solving.

Thanks a lot in advance.

 

Edit: Cleared it up, found out that using XPManifest the panel colours just don't appear, anyone have any ideas of why this happens.

Thanks!

Edited by Cena_54 (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.