I have written a little DLL that allows one to force a programmatic change event to occur at the next wait state. A sample main routine is:
SET CLASSLIB to idle
loObj = CREATEOBJECT("IdleForm")
SET LIBRARY TO VFPIdle.DLL
IdleStart(loObj.IdleTest)
loObj.Show()
READ EVENTS
SET LIBRARY TO
The IdleTest object (any object passed to IdleStart) needs to have:
Value property (will be changed so hide the control)
mlPending property
ProgrammaticChange method
When the mlPending property is set to .T. the next time a wait state is entered, a ProgrammaticChange event will be triggered, calling the ProgrammaticChange code.
Usage would look something like
oObj.mlPending = .T.
RETURN TO MASTER && Return to wait state
If anyone is interested, let me know and I will post the DLL.
Ned
Ned
Reality is.