Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why is form activate is executing before form load
Message
De
12/11/2002 17:52:03
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
12/11/2002 07:16:03
Information générale
Forum:
Visual FoxPro
Catégorie:
CodeMine
Divers
Thread ID:
00721382
Message ID:
00721885
Vues:
10
>It runs OK after giving a couple of error messages related to nonexistent properties which are created in the form load. I am guessing that the form is "activated" before it is fully instantiated. What do you think, Gary?
>
>
>>Is the form running OK apart from the odd event sequence or is the form crashing?
>>
>>>I am running a form that descends from frmDataMangerFormCustom form the command window. For some reason, the form.Activate method is running before the form load. Why would that be?

Also, any .SetFocus() will activate the form.Just put a breakpoint in the .activate and look up the call stack in the debugger, and you'll catch it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform