Hi All;
Does setting _vfp.autoyield = .f. stop only ActiveX controlls from interrupting other program code, or does it que ALl windows events, including the vfp timer, for a wait state?
Specifically, I have a form with only a vfp timer (going off every 20 seconds) and a winsock server responding asynchronously to incomming connection and dataarrival requests. It is simple enough programmatically to turn off the timer durring a dataarrival event, but what is the best way to turn off processing winsock dataarrival while the timer code is executing without losing the winsock data? i.e., I need the timer code to finish before processing data in the dataarrival event.
Thanks in advance for any help,
Alan
Does setting _vfp.autoyield = .f. stop only ActiveX controlls from interrupting other program code, or does it que ALl windows events, including the vfp timer, for a wait state?
Specifically, I have a form with only a vfp timer (going off every 20 seconds) and a winsock server responding asynchronously to incomming connection and dataarrival requests. It is simple enough programmatically to turn off the timer durring a dataarrival event, but what is the best way to turn off processing winsock dataarrival while the timer code is executing without losing the winsock data? i.e., I need the timer code to finish before processing data in the dataarrival event.
Thanks in advance for any help,
Alan