Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inherited forms
Message
 
To
06/09/2006 15:01:27
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
01151465
Message ID:
01151561
Views:
28
Darrell,

>I am inheriting the mmMainAppForm. How do I change the backcolor of the form? No mater what I do, it seems to go to a color called AppWorkSpace.

This is one of those Windows Forms "points of interest" <g>. I remember messing with this for quite a while when .NET 1.0 was first out...I thought...certainly, it's me <bg>.

ANYWAY, in order to change the background color of an MDI parent form, you have to set its BackgroundImage property to an image of the desired color...not intuitively obvious! For example, you can create a .bmp or .gif file that is pure white if you want a solid white background. Note that the color will not be changed at design time, but it will render correctly at run time.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform