Windows Form BackColor

  • Thread starter Thread starter Visual Developer
  • Start date Start date
V

Visual Developer

Guest
Hi,

I cant seem to set the BackColor property of a Windows Form.

Whenever I do:

Code:
Me.BackColor = RGB(100, 200, 250)

VB.NET says it cant convert the integer values passed to a System.Drawing.Color object.

Whats wrong?

Thanks,
Visual Developer
 
Oh no! My MDI Form doesnt 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
 
The window color is not the same as the application workspace color. Two different settings. Youll have to intercept the forms WM_PAINT and WM_SIZE messages and color the workspace manually.

Good Luck
-CL
 
Back
Top