Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BIndEvent()
Message
From
07/05/2003 09:34:01
 
 
To
07/05/2003 09:13:15
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00785656
Message ID:
00785758
Views:
14
Ramil, I think you asked your question correctly the first time. But I'll give this another shot.

>* when oC2.bindtest fires. here the oC1 object is not in the callstack. i need to confirm here that after oC2.bindevent fires program control goes back to the READ EVENTS state if there is one.

Program control will go back to the code that raised the event. Thats why I added the "After the Event" wait window, to show you that when the delegate and event have finished running (regardless of which one runs fist) control goes back to the original program (test.prg). If there is no more code to execute in Test.PRG, and the application was in a READ EVENTS before Test.PRG was run, then yes, program control goes back to the READ EVENTS.

>* I assume without using BINDEVENT() and calling oC2 event from oC1 would show:

Naturally.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform