Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP8 bindevent bug ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00782380
Message ID:
00783709
Views:
12
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform