Causes queued keyboard and mouse events to be sent as they are generated.
By default, Silk Test Classic sends events when all keys or mouse buttons that were pressed have been released. Calling FlushEvents is the way to override this optimization, because FlushEvents sends each event as it is generated.
This method is also useful when you need to query the state of an application when keyboard and mouse events are queued (using calls to PressMouse or PressKeys) pending release by calls to ReleaseMouse or ReleaseKeys.
MainWin.PressMouse(1, 100, 100) Agent.FlushEvents()