About "handle tick events"

Asmoro

Active Member
Licensed User
Longtime User
Hi,

I have an ImageView called Image2.

While using a Timer and clicking on a button, Image2 appears.
But how to disappear the image after some time.

Is it something about " Sub Image2_Tick"?

Here's the code:

B4X:
Sub Process_Globals
   Dim TimerImage2 As Timer
End Sub

Sub Globals
   Dim Image1 As ImageView
   Dim r As ICOSRotateAnimation
   Dim Pnl3 As Panel
   Dim btnImage As Button
   Dim Image2 As ImageView
End Sub

Sub Activity_Create(FirstTime As Boolean)
   Activity.LoadLayout("Test")
   r.InfinityRotateCentre("r",360,3000)
   r.StartAnim(Image1)
   TimerImage2.Initialize("Image2", 1000)      
   TimerImage2.Enabled=True
End Sub

Sub Image2_Tick
   'handles tick events
End Sub

Someone knows the answer?

Tia
Asmoro
 
Top