Delphi: Prevent Transparency of TPanel with XPManifest
Tip by Delphian | 2012-08-09 at 15:10
If we add the XP Manifest to our Delphi application, this has the nasty aftertaste that each panel is transparent and loses its color.
If this is not wanted, simply add the following code to your FormCreate:
procedure TForm1.FormCreate(Sender: TObject); begin Panel1.ParentBackground:=false; end;
And already, the panel regains its color.
About the Author
The author has not added a profile short description yet.
Show Profile
Related Topics
MySQL: Line Breaks in MySQL
Tip | 0 Comments
MIME Types of Microsoft Office File Formats
Info | 0 Comments
Color Values: Convert RGB, CMYK, CMY, HSV, TColor and XYZ Values
Tutorial | 0 Comments
Pipette: Fetch Colors from all over the Screen
Tutorial | 0 Comments
XAMPP: How to set up SSL/HTTPS for local Projects
Tutorial | 4 Comments
Delphi: Global Treatment of Errors (Exceptions)
Tutorial | 0 Comments
Important Note
Please note: The contributions published on askingbox.com are contributions of users and should not substitute professional advice. They are not verified by independents and do not necessarily reflect the opinion of askingbox.com. Learn more.
Participate
Ask your own question or write your own article on askingbox.com. That’s how it’s done.