Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd firing sequence?!
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00088205
Message ID:
00088362
Vues:
29
>You can also change the firing order by setting focus to a control in the form in an event before the init. Doing so requires the form.activate fire before it was meant to.

Yes, that was the first trick I found (a year ago or so, before I understood how top-levels worked) to get a top-level toolbar to added to the form instead of the main screen, setfocus to some object on form, which ran the form activate...now I issue Show method before instantiating toolbar, with same result but nicer aesthetically...

One interesting thing about altering the firing order is that you might think an event like activate would fire twice when triggered once "early", but it doesn't generally seem to. I guess internal bookkeeping only allows one fire per sequence...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform