Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Page.Activate()/form.Activate() problem
Message
De
01/12/2003 14:58:43
Gary Foster
Pointsource Consulting LLC
Chanhassen, Minnesota, États-Unis
 
 
À
01/12/2003 14:14:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00854696
Message ID:
00854798
Vues:
16
Fabio,
Thanks for the suggestion. I've fixed the problem by some checks in the page activate that determines if it should fire based on the control that last had focus. If the parent of the control that last had focus is not the page in question, skip most of the code in the method.

I capture that info anyway so it wasn't too hard. As far as this being a bug, I agree.

Gary

>Hi Gary,
>
>this is a bug.
>It occurs only for the first pageframe on the form, also if it is not visible.
>
>Then, for a possible workaround, use another bug,
>put one catch pageframe on the form:
>
>Pageframe1.Name='CaptureActivate' with PageCount=0 and visible = .F.
>
>
>Then add your pageframe to the form, for this VFP not fire the Activate event.
>
>Fabio
>
>P.S. For a old form, add the catch pageframe and use "Send to Back" for set the 'CaptureActivate' as the first control on the form.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform