I get the same results as you. However, I do not understand why the screen resize would fire at all.
>Hi !
>It seems that VFp does not recognise some screen resize events.
>Run the code below and then try to dock and undock a VFP window for example comamnd window. When you dock the window resize event is triggered when you undock the window is seems that no resize event is generated.
>I hope that I am wrong.
>
>
>PUBLIC oFoo
>oFoo = CREATEOBJECT("foo")
>BINDEVENT(_screen,"resize",oFoo , "myresize")
>DEFINE CLASS foo as custom
> nCount = 0
> FUNCTION myresize
> this.nCount = this.nCount + 1
> ? "Resize" , this.nCount , _screen.Width, _screen.Height
> ENDFUNC
>ENDDEFINE
Mark McCasland
Midlothian, TX USA