Platforms to show: All Mac Windows Linux Cross-Platform

Back to CarbonEventsTimerMBS class.

CarbonEventsTimerMBS.Available as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Carbon Events MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the time can fire.

Should be true in Carbon applications.
(Read only property)

CarbonEventsTimerMBS.Lasterror as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Carbon Events MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The last error code reported.

0 for successfull.
-1 for function not available.
else a Mac OS error code.
(Read and Write property)

CarbonEventsTimerMBS.Mode as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Carbon Events MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The timer mode.

Like a RB timer: 0 - off, 1 - single, 2 - multiple.
The timer may fire directly when set.
(Read and Write property)

CarbonEventsTimerMBS.Period as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Carbon Events MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The period of the timer in milliseconds.

Added to make it compatible to normal RB code.
(Read and Write property)

CarbonEventsTimerMBS.PeriodSeconds as Double

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Carbon Events MBS MacCF Plugin 3.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The period of the timer in seconds.

Set to 1 to fire the timer every second.
If you set this to 0.000001, you can get something like 13500 events per second. See Timer Benchmark example project.
(Read and Write property)

Some examples using this property:

The items on this page are in the following plugins: MBS MacCF Plugin.


The biggest plugin in space...