Hi Simon,
I see that you're posting this bug on UT since VFP7. Did you ever reported it to VFP team?
>
>I have found a bug in they way controls inside a container are painted. This bug results in parts of the control showing outside the boundary of the container. The following code illustrates the problem:
>
>
>Public go
>go=CreateObject("Form")
>go.Addobject("constd","constd")
>go.constd.Visible=.Y.
>go.Show()
>Return
>Define Class constd as Container
> Width=250
> Height=120
> borderwidth=1
> specialeffect=1
> Add Object lststd as ListBox With width=300,height=100,rowsourcetype=1,;
rowsource="a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z",;
> autohidescrollbar=1
>EndDefine
>
>
>If you run the code above and then use the mouse wheel on the listbox the scroll bar will display outside of the container. This also happens if you issue:
>
>go.constd.lststd.requery
>
>or
>
>go.constd.lststd.Visible=.N.
>go.constd.lststd.Visible=.Y.
>
>Simon
--sb--