Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BINDEVENT on INIT
Message
From
17/01/2007 10:28:25
 
 
To
17/01/2007 09:58:59
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01186138
Message ID:
01186265
Views:
23
Great !

Worked perfectly this way:

In my class INIT event, I've put
BINDEVENT(Thisform, "Activate", This, "AfterFormInit")
In my class AFTERFORMINIT method, included for testing:
MESSAGEBOX("After Init Fired!")
UNBINDEVENTS(This)
Thanks very much Sergey and Olaf for your help.

Cesar


>Have you tried the nFlags parameter? It allows you to set if the delegate runs before or after the event. So you could try to set it up to run before the forms activate. And in the activate perhaps Unbindevent...
>
>Bye, Olaf.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform