Reputation: 1243
I have a .Net application cotaining a form which is displayed as dialog box. This works great on windows XP but when I run this EXE on Windows 7 the form background color changes to black.
Upvotes: 3
Views: 2839
Reputation: 28059
ActiveCaptionText will indeed show up as black in Windows 7, this is standard behaviour. On Windows XP, ActiveCaptionText shows up as white as shown below:
I think you need to change the BackColor property to Control
to get your form to look like how you want it:
Upvotes: 8