If you haven't already done so, Try setting the container's BackStyle property to 1 - Opaque. Alternatively, put a shape at the back of the container's z-order as Gérald suggests.
Cheers,
Andrew
>I have a container class which contains a small grid and 3 command buttons.
>It is made visible when the command button in another grid on a form class is pressed and it appears above the grid. (It contains child records for the current row in the grid).
>
>Even though the container background is set to Opaque, the vertical scrollbar from the grid underneath the container is showing through where there is no control on the container. (ie. Empty space on the container)
>
>It is as if the container is behind the grid in the z order but the controls in the container are above the grid in the z order.
>
>Any ideas how to stop the underneath grid showing through ?
>
>Cheers,
>Jamie
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.