Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Odd firing sequence?!
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00088205
Message ID:
00088362
Views:
28
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform