Home All Groups Group Topic Archive Search About

Drawing on panel removes graphics.

Author
23 Feb 2006 11:50 PM
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?

Author
24 Feb 2006 1:36 AM
Homer J Simpson
"Shawn" <shawn.cam***@ccci.org> wrote in message
news:eF7i4PNOGHA.648@TK2MSFTNGP14.phx.gbl...

>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?
Author
24 Feb 2006 12:53 PM
Shawn
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.

"Homer J Simpson" <nob***@nowhere.com> wrote in message
news:vqtLf.3758$Cp4.1394@edtnps90...
Show quoteHide quote
>
> "Shawn" <shawn.cam***@ccci.org> wrote in message
> news:eF7i4PNOGHA.648@TK2MSFTNGP14.phx.gbl...
>
>>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?
>
>
>
Author
24 Feb 2006 4:41 PM
Homer J Simpson
"Shawn" <sscam***@bellsouth.net> wrote in message
news:e$JKIFUOGHA.3264@TK2MSFTNGP11.phx.gbl...

> 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.