MDI Container BackColor

L

Lee

Hi,

I have an MDI app, and want to change the containers back color to something
other than the default grey. The backcolor property does not appear to work
on MDI containers.

thanks in advance
lee
 
M

Mick Doherty

There are other ways, but the MDIClient is the first control added to the
form and so unless you have messed around with zOrder it's as simple as:

this.Controls[this.Controls.Count - 1].BackColor = someColor;

is that how you solved it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top