Guest Visual Developer Posted March 30, 2002 Posted March 30, 2002 Hi, I can't seem to set the BackColor property of a Windows Form. Whenever I do: Me.BackColor = RGB(100, 200, 250) VB.NET says it can't convert the integer values passed to a System.Drawing.Color object. Whats wrong? Thanks, Visual Developer Quote
*Gurus* Derek Stone Posted March 30, 2002 *Gurus* Posted March 30, 2002 Dim windowColor As Color = Color.FromArgb(100, 200, 250) Good Luck -CL Quote Posting Guidelines
Guest Visual Developer Posted March 30, 2002 Posted March 30, 2002 Oh no! My MDI Form doesn't seem to change its BackColor! Even when I change the BackColor in the designer - it still shows the normal AppWorkspace! Whats wrong? Please help! Thanks VD Quote
*Gurus* Derek Stone Posted March 31, 2002 *Gurus* Posted March 31, 2002 The window color is not the same as the application workspace color. Two different settings. You'll have to intercept the form's WM_PAINT and WM_SIZE messages and color the workspace manually. Good Luck -CL Quote Posting Guidelines
Guest afrinspray Posted July 30, 2002 Posted July 30, 2002 Any hints on how to do that? Thanks, Mike Quote
Guest afrinspray Posted August 5, 2002 Posted August 5, 2002 http://support.microsoft.com/default.aspx?scid=kb;en-us;Q319417 This is an article in the microsoft knowledge database about changing the background color of an MDI Form. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.