Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form.activate runs on it's own at different times
Message
From
05/08/2003 15:19:35
 
 
To
05/08/2003 14:30:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00816555
Message ID:
00817028
Views:
20
<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.
Previous
Reply
Map
View

Click here to load this message in the networking platform