Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Read only groupbox/panel

Posted on 2006-11-29
1
Medium Priority
?
1,962 Views
Last Modified: 2006-11-29
How do I make a groupbox or panel look like read-only... i mean, grayed out?
0
Comment
Question by:srinivas_vemla
1 Comment
 
LVL 64

Accepted Solution

by:
Fernando Soto earned 2000 total points
ID: 18042834
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Integration Management Part 2
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question