Drawing on panel removes graphics.

  • Thread starter Thread starter Shawn
  • Start date Start date
S

Shawn

I know the answer to this is right under my nose, but I think I'm too tired
to recall it. I have a form that uses a picture as it's background upon
loading. I then have a panel on top of it that is used to click on and
create a box on the area that was clicked on. What happens is when the box
appears, the background image disappears. What simple thing am I forgetting?
 
I know the answer to this is right under my nose, but I think I'm too tired
to recall it. I have a form that uses a picture as it's background upon
loading. I then have a panel on top of it that is used to click on and
create a box on the area that was clicked on. What happens is when the box
appears, the background image disappears. What simple thing am I
forgetting?

Is the box transparent?
 
Yes, but I actually figured out a bett work around. I create a button that
looks like the box I created and just change it's location according to
where the box would have been. After setting it's color to transparent, it
actually works great.
 
Yes, but I actually figured out a bett work around. I create a button that
looks like the box I created and just change it's location according to
where the box would have been. After setting it's color to transparent, it
actually works great.

OK. You have to find out which item you actually need to draw on. You can
wind up with 2 or 3 layers on top of your form at times.
 
Back
Top