Results 1 to 36 of 36

Thread: [RESOLVED] Show a transparent PictureBox over a ListBox Help!

Threaded View

  1. #9

    Thread Starter
    Hyperactive Member Spybot's Avatar
    Join Date
    Jan 2019
    Posts
    329

    Re: Show a PictureBox transparent over a ListBox Help!

    Hi jmc!
    I've tried drawing directy to the Form, handling my Form's .Paint event, the result was as expected it drew my image all the way to the back, (behind all my controls).
    Name:  Captura de pantalla 2022-01-28 122738.png
Views: 2004
Size:  33.2 KB

    This is my code:
    VB.NET Code:
    1. Dim r As New Rectangle(643, 84, 342, 530)
    2. e.Graphics.DrawImage(My.Resources.Cancelado, r)
    3. ListBox1.SendToBack()

    I'm trying to keep it simple, since it'll always be the same image, with the same size on the same location.
    So, Is it possible to draw the image over the listBox?
    Last edited by Spybot; Jan 28th, 2022 at 01:39 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
  •  



Click Here to Expand Forum to Full Width