Results 1 to 2 of 2

Thread: OCX - Label flashes when BackStyle=0 (Transparent)

  1. #1

    Thread Starter
    Addicted Member Michel Jr's Avatar
    Join Date
    Jan 2000
    Location
    Brazil
    Posts
    175

    Question

    Hi,

    I'm developing a simple OCX with only a Label inside of it.

    I need to let the Label.BackStyle = 0 (Transparent), but when I do this, the Label caption stays flashing. I think it's because the paint event is being called continuously.

    How can I let the Label transparent without flashing?
    Is there any property that I need to set up?

    Thanks a lot for any help...

    Michel Jr.


  2. #2
    Hyperactive Member
    Join Date
    Jun 2000
    Location
    Auckland, NZ
    Posts
    411

    Cannot reproduce

    I made a UserControl (didn't compile it yet) and added a single Label Control with the BackStyle set to 0, and I could not yet reproduce the effect.

    Do you have ANY code in the usercontrol at all? If so, what is it please?

    Regards
    Paul Lewis

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