Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3791

Timer RunModes

$
0
0

Hello, I have a question…

I tried to do this in android under the App opening event and it doesn’t work. What am I doing wrong?
There is a property in the App named timer as Timer…

Me.timer = New Timer
Me.timer.RunMode = Timer.RunModes.Multiple // I also tried timer.RunModes.Multiple
Me. timer.Period = 10000
AddHandler Timer.run, AddressOf timerRun

And I get these errors:

App.Opening, line 2
Type “Timer” has no member named “RunModes”
Me.timer.RunMode = Timer.RunModes.Multiple

App.Opening, line 2
Type “Int32” has no member named “Multiple”
Me.timer.RunMode = Timer.RunModes.Multiple

App.Opening, line 2
Type mismatch error. Expected enum Timer.RunModes, but got Int32
Me.timer.RunMode = Timer.RunModes.Multiple

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3791

Trending Articles