The following interfaces are exposed to allow notification of timer "events" without threat of being blocked by modal dialog boxes or message boxes. Although such blocking typically only occurs within the Visual Basic IDE, it can be a nuisance during the development process. In addition, event notification via an interface can be many times faster than through the inherently late-bound WithEvents model.
ICcrpTimerNotify
Implement the ICcrpTimerNotify interface within your class or form to be notified of all ccrpTimer events via a method call. This interface is designed for use in situations where a single timer object is being used.
Option ExplicitPublic Sub Timer(ByVal Milliseconds As Long)
End SubICcrpTimerNotifyEx
Implement the ICcrpTimerNotify interface within your class or form to be notified of all ccrpTimer events via a method call. This interface is designed for use in situations where a multiple timer objects is being used. Provides a method to simulate control arrays.
Option ExplicitPublic Sub Timer(ByVal Milliseconds As Long, ByVal Tmr As ccrpTimer)
End SubICcrpCountdownNotify
Implement the ICcrpCountdownNotify interface within your class or form to be notified of all ccrpCountdown events via method calls. This interface is designed for use in situations where a single timer object is being used.
Option ExplicitPublic Sub Tick(ByVal TimeRemaining As Long)
End SubPublic Sub Timer()
End SubICcrpCountdownNotifyEx
Implement the ICcrpCountdownNotify interface within your class or form to be notified of all ccrpCountdown events via method calls. This interface is designed for use in situations where a single timer objects are being used. Provides a method to simulate control arrays.
Option ExplicitPublic Sub Tick(ByVal TimeRemaining As Long, ByVal Tmr As ccrpCountdown)
End SubPublic Sub Timer(ByVal Tmr As ccrpCountdown)
End Sub