Results 1 to 3 of 3

Thread: [RESOLVED] usercontrol text when masking/backstyle = transparent

  1. #1
    Frenzied Member
    Join Date
    Aug 11
    Location
    B.C., Canada
    Posts
    1,839

    Resolved [RESOLVED] usercontrol text when masking/backstyle = transparent

    i am trying to mask an icon image (which i can do) and then under that image will be a label (on usercontrol) but when i mask and set it transparent it hide the label caption (label.backstyle = transparent)

    Code:
    UserControl.PaintPicture LoadPicture("Icon.ico"), 240, 0, 495, 495
    
    UserControl.BackColor = &HFFFFC0
    UserControl.MaskColor = &HFFFFC0
    UserControl.MaskPicture = UserControl.Image
    UserControl.BackStyle = 0
    i want to mask the picture so you do not see the usercontrol background on my form1 but also would like to see whats in my usercontrol.label1.caption is that possible?

    Edit:
    i put the label's backstyle to opaque and i see it now but it has a backcolor which is not transparent... i want it to be transparent but not the text in it
    Last edited by Max187Boucher; Aug 18th, 2012 at 11:26 PM.

  2. #2
    Frenzied Member
    Join Date
    Aug 11
    Location
    B.C., Canada
    Posts
    1,839

    Re: usercontrol text when masking/backstyle = transparent

    Anyone any ideas how to make this happen

  3. #3
    Frenzied Member
    Join Date
    Aug 11
    Location
    B.C., Canada
    Posts
    1,839

    Re: usercontrol text when masking/backstyle = transparent

    figured it out thanks
    Last edited by Max187Boucher; Aug 19th, 2012 at 08:46 PM.

Posting Permissions

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