Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dev. version vs installed version ????
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00128426
Message ID:
00129358
Vues:
23
>O.k. but why would it fire more than once? I will check
>activate of pageframe for code. I do have a thisform.refresh
>in every activate of every page. Could this be the culprit?
>
>Thanks and have a good day.
>
Becky,

It would fire more than once because the page is activated more than once. To get the most out of event programming you must know the details about each event, when it fires, what makes it fire, etc..

In general, an Activate event is not a good place to do the append. The active fires whenever focus goes to the page. If the user clicks a button in the form and then button setfocus to the pqage the activate fires again. If the user clicks to page 1 and then back to page 2 the activate for page 2 fires again. If your code sets focus somewhere and then back to the apge the page's activate fires again.

I would create a button on page 2 that says "Add New Reord" and in its Click event I would append blank.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform