Label control inside panel or groupbox is grayed

Label control inside panel or groupbox is grayed

Post by SmVmZ » Sun, 16 Dec 2007 05:09:01


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?
 
 
 

Label control inside panel or groupbox is grayed

Post by SmVmZ » Sun, 16 Dec 2007 05:50:01

Nevermind. User error.

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

:(