Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form.activate runs on it's own at different times
Message
De
05/08/2003 15:19:35
 
 
À
05/08/2003 14:30:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00816555
Message ID:
00817028
Vues:
21
<snip>
>>So, if you have something in your code that lets the form lose focus and then it regains focus then your activate event is going to fire. This event should only contain code that should happen when the form gains focus.
>
>_________________________________________________________________
>I have noticed that activate occurs just like the gotfocus of the form, but what I don't understand is why code which has not changed does not loose focus on the form and return to it (hence calling the activate procedure of the form) then all of a sudden it begins doing this when I add code in other places, but have not changed any code in the module that now causes the activate, and that the code I am changing has nothing to do with the part of the code that is now calling the activate procedure of the form.

Kev, if this only happens in a particular form could it be that the form file is perhaps corrupted? Can you duplicate this behaviour at will? If so perhaps you could post the form code or send it to a few UT members for further testing.

HTH
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform