Hi,
I have a panel with a few labels in it. When I click on the panel I have a menu come up elsewhere on my form. Clicking the panel toggles this menu, visible/not visible
However, I've noticed if I click on an enabled label within the panel I'm not able to engage the panel_click event.
If I disable the labels in the panel then I can engage the panel_click event if I click on a label within that panel.
However, the problem is, disabling a label, causes its text colour to be greyed out. I need to be able to change the text colour.
so... is it possible to override the text colour of a disabled label, or is there a way I can get at the panels_click event when I click on a label within the panel.?
Or is there a way i can leave the labels enabled, but clicking somewhere within the panel, including on the labels them selves will give me the panel_click?
I would prefer not have to add an event to each labels on click event.
Any ideas?
Thanks
I have a panel with a few labels in it. When I click on the panel I have a menu come up elsewhere on my form. Clicking the panel toggles this menu, visible/not visible
However, I've noticed if I click on an enabled label within the panel I'm not able to engage the panel_click event.
If I disable the labels in the panel then I can engage the panel_click event if I click on a label within that panel.
However, the problem is, disabling a label, causes its text colour to be greyed out. I need to be able to change the text colour.
so... is it possible to override the text colour of a disabled label, or is there a way I can get at the panels_click event when I click on a label within the panel.?
Or is there a way i can leave the labels enabled, but clicking somewhere within the panel, including on the labels them selves will give me the panel_click?
I would prefer not have to add an event to each labels on click event.
Any ideas?
Thanks