Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Delphi Panels Help


No replies to this topic

#1 Cena_54

    Newbie [Level 3]

  • Kontributors
  • PipPipPip
  • 48 posts

Posted 05 April 2006 - 06:36 PM

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, 08 April 2006 - 06:04 PM.





Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users