Label control inside panel or groupbox is grayed

J

Jeff

I have created a panel (or groupbox) control on top of my form control.

I have placed a label inside.

I have set the visible property of the panel (or groupbox) to false.

During execution, I want to display the text of the label inside the panel
(or groupbox) as a message to the user on top of my form.

When I set the panel (or groupbox) to visible at runtime, the label text
inside is either not visible or grayed.

Why? How to resolve?
 
J

Jeff

Nevermind. User error.

I was inadvertently placing the panel control inside another control that I
had disabled.

:(
 

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