General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows 2000 Server
Just wanted to concentrate on this paragraph:
>In another instance, we noted that programmatic call to a CLICK event caused the GPF error to happen as well. In this case there was a directly seen call to the CLICK event, so the solution was to factor the code out of the Click to a method and have BOTH the Click event and the call to the Click event call the method instead. Because the click event was not called, the BINDEVENT code did not fire except one time, so the confusion was cleared and VFP ran as expected.
I've always understood the if you use Click() in code (which I assume is what you mean by 'directly seen call') all that you are doing is running the code contained in the Click() method - not raising the event itself. Are you saying that a call to Click() caused the BindEvent code to execute?
Should have prefaced this by stating by VFP is pretty rusty. Maybe someone else will clarify this...
Regards,
Vov
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