-
ActiveX (Urgent)
I am creating an OCX an i add a BackStyle property, this control has a Label Control on it, this label has its backstyle property to Transparent, the problem is that when i set the UserControl BackStyle property to Transparent the Text of the label control desapears, but if i set the label backstyle property to Opaque, the text of the label control is shown.
This happen when i place the Control on a Form.
So how do i keep the label text visible if the usercontrol and label Control BackStyle is transparent?
if you don't understand my question please let me know, to write a better explanation.
-
Do you have the ForeColor property properly set?
-
1 Attachment(s)
This is unfortunately a side effect of transparency, the only way to get round it is to paint the text on a picture.
I've attached one i've made, you may want to just add this component to your ocx project or build from it
Regards
Chris