General information
Category:
Forms & Form designer
Nadya,
From the VFP CHM File
Show(2)
(Default) Modeless. Code that occurs after the Show method is run as it is encountered.
As you already figured out, the local variable in which you were storing the form reference was going out of scope because issuing Show(2) didn't prevent the remainder of the method from running immediately.
BTW, your Read Events is simply ignored if there is a Read Events already in effect.
Daniel
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only