Results 1 to 5 of 5

Thread: [RESOLVED] Drawing on UserControl with Transparent BackStyle.

Threaded View

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2016
    Posts
    28

    Resolved [RESOLVED] Drawing on UserControl with Transparent BackStyle.

    I am trying to draw on a UserControl, but I want to have other regions apart from my drawing transparent, so the Background/Controls on the Form should be visible apart from my drawing when the UserControl is over them. As of now when I set the BackStyle Opaque the drawing is visible but when I change it to transparent it is not.

    Code:
    Private Sub UserControl_Initialize()
    UserControl.BackStyle = 0 '0=Transparent 1=Opaque
    Line (200, 200)-(800, 800), RGB(0, 0, 0), BF
    End Sub
    Last edited by software07; Apr 16th, 2018 at 10:38 PM. Reason: Resolved

Tags for this Thread

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