Android Question Click on LongTextSimple [SOLVED]

Tim Chapman

Active Member
Licensed User
Longtime User
From here I found the LongTextSimple which is very helpful for me:

I need to be able to click on the text and have that occur.
I tried adding it to the code as:

Click?:
Sub scvText_Click
    LogColor("ScvText_Click",Colors.Blue)
End Sub

Sub lblText_Click
    LogColor("LblText_Click",Colors.Blue)
End Sub

but it does not work.

Any ideas?
 

mangojack

Well-Known Member
Licensed User
Longtime User
I downloaded the above example and generated a click event in the Designer.
It worked for me .

B4X:
Private Sub lblText_Click
	Log("Clicking")
End Sub

Not more I can say . possibly upload a small example project.
 
Upvote 0

Tim Chapman

Active Member
Licensed User
Longtime User
I apologize. I did not use the first one. I used the one from this post:
It does not have a layout file.
Any ideas on how to make the click work for this?
 
Upvote 0
Top