Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP8 bindevent bug ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00782380
Message ID:
00783709
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform