O omoba Active Member Licensed User Longtime User Sep 16, 2012 #1 Hi, I dont know if this is possible. I want to load text to an EditText or Label. I then want to be able to click on the text. THis text would now run a function. Eg. "This is a dog" This text is loaded to a label; I can then click on any of the 4 words to run a function --like an hyperlink (each word one function). I guess this is similar to the concept of pressing the text of a document in order to copy the text when using a phone Can this be done? Thanks Last edited: Sep 16, 2012
Hi, I dont know if this is possible. I want to load text to an EditText or Label. I then want to be able to click on the text. THis text would now run a function. Eg. "This is a dog" This text is loaded to a label; I can then click on any of the 4 words to run a function --like an hyperlink (each word one function). I guess this is similar to the concept of pressing the text of a document in order to copy the text when using a phone Can this be done? Thanks
Erel B4X founder Staff member Licensed User Longtime User Sep 16, 2012 #2 You can put each word in its own label. Though it would be difficult to correctly align the labels. Another better solution is to actually use links with WebView. You can then handle the OverrideUrl to handle the link click events. You can make the links look exactly like regular text. Upvote 0
You can put each word in its own label. Though it would be difficult to correctly align the labels. Another better solution is to actually use links with WebView. You can then handle the OverrideUrl to handle the link click events. You can make the links look exactly like regular text.