Results 1 to 3 of 3

Thread: ActiveX (Urgent)

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2002
    Location
    Honduras
    Posts
    1

    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.

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    Do you have the ForeColor property properly set?

  3. #3
    Hyperactive Member
    Join Date
    Jul 2000
    Location
    Halifax,UK
    Posts
    274
    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
    Attached Files Attached Files
    VB6 VS2005

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width