' Button stuck in "Pressed Down" look from LongClick/Disable combo
' One solution to get around the issue
Sub Process_Globals
End Sub
Sub Globals
Dim bt As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
bt.Initialize("ButtonPress") : bt.Text="Long-Press me"
Activity.AddView(bt,10%x,20dip,60%x,40dip)
End Sub
Sub ButtonPress_LongClick()
bt.RemoveView
bt.Initialize("ButtonPress") : bt.Text="Long-Press me"
Activity.AddView(bt,10%x,20dip,60%x,40dip)
bt.Enabled=False
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub