Read only groupbox/panel

How do I make a groupbox or panel look like read-only... i mean, grayed out?
srinivas_vemlaAsked:
Who is Participating?
 
Fernando SotoConnect With a Mentor RetiredCommented:
Hi srinivas_vemla;

If you mean that you want all the controls in the container such as a GroupBox to be disabled / Grayed out just make the GroupBox.Enabled = false; and to re-enabled all the controls of in that group box just re-set it like so GroupBox.Enabled = true;.

Fernando
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.