HI,
Can someone please confirm whether the following is the correct expected behaviour as it is not what I expected?
I did the folowing: -
Create a new custom control.
Placed a panel on it.
Drew a straight vertical line on the panel.
Placed a picturebox on the panel.
When I ran it in the test container, I could only see the top and bottom of the line as the rest of the line was obscured by the picturebox. So far this is what I expected. I then set the background colour to transparent for the picturebox so that I could see the line beneath it. This too was fine until I set the border property for the picturebox to be fixed or 3D, because then the line beneath the picturebox was offset. Due to the fact that I am drawing on the panel and not the picturebox, I wouldn't expect any graphics beneath the picturebox to be modified. It looks as if the area has been copied into the picture box.
Is this expected behaviour or a bug?
Regards
Ron.