Android Question How Add Click Event To Captcha View

behnam_tr

Active Member
Licensed User
Longtime User
hi

How Add Click Event To Captcha View


Sub Base_Click And Sub mbase_Click Not working On B4a

thanks.?
 

TILogistic

Expert
Licensed User
Longtime User
???
Add to Captcha.bas
B4X:
Private Sub Base_MouseClicked (EventData As MouseEvent)
    Refresh
End Sub

or
B4X:
#If B4A or B4I
Private Sub Base_Click
#Else B4J
Private Sub Base_MouseClicked (EventData As MouseEvent)
#End if
    Refresh
End Sub
 
Upvote 0

behnam_tr

Active Member
Licensed User
Longtime User
???
Add to Captcha.bas
B4X:
Private Sub Base_MouseClicked (EventData As MouseEvent)
    Refresh
End Sub

or
B4X:
#If B4A or B4I
Private Sub Base_Click
#Else B4J
Private Sub Base_MouseClicked (EventData As MouseEvent)
#End if
    Refresh
End Sub

thanks But Not Work in B4a
 
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
Test:
 

Attachments

  • 1.gif
    1.gif
    65.6 KB · Views: 96
  • 2.gif
    2.gif
    58.1 KB · Views: 98
Upvote 1
Top