Dec 9, 2011 Replies: 10 Hello, The Library ClickableTextView simply lets you add (append) any String (Text) with any Color to your TextView and will be clickable. The Event "_ClickableLink" will catch any Click and returns the clicked String (Text). Functions: Code: Copy 'To Add a Clickable Text to the Label ClickableTV.AddLinkText(TextView,"TextToClickable",Color,"EventName") 'To Append a Text to a Label ClickableTV.AppendText(TextView,"TextToAppend") Events: Code: Copy EventName_clickablelink (Text as String) I hope some of you might find it useful too. A Demo Project is Included. greeTz, reeZZer Credits to the Code Creator: thanksmister Attachments ClickableTextView.zip ClickableTextView.zip 302.2 KB · Views: 1,115 Last edited: Dec 16, 2011 Click to expand...
Hello, The Library ClickableTextView simply lets you add (append) any String (Text) with any Color to your TextView and will be clickable. The Event "_ClickableLink" will catch any Click and returns the clicked String (Text). Functions: Code: Copy 'To Add a Clickable Text to the Label ClickableTV.AddLinkText(TextView,"TextToClickable",Color,"EventName") 'To Append a Text to a Label ClickableTV.AppendText(TextView,"TextToAppend") Events: Code: Copy EventName_clickablelink (Text as String) I hope some of you might find it useful too. A Demo Project is Included. greeTz, reeZZer Credits to the Code Creator: thanksmister
metrick Active Member Licensed User Longtime User Dec 18, 2011 #4 reeZZer: Is there a way that I can modify the click able area? I am not clicking on the text(word) is still display click event. Great LIB, Thanks.
reeZZer: Is there a way that I can modify the click able area? I am not clicking on the text(word) is still display click event. Great LIB, Thanks.
R reeZZer Member Licensed User Longtime User Dec 18, 2011 #5 Could you explain me exactly how that happens? Maybe a Project Demo and explaination how. Try to set it like this: Code: Copy ClickableTV.AddLinkText(TextView,"this is a click text",Colors.Blue,"EventName") ClickableTV.AppendText(TextView," ") and see if this will fix the issue. If yes i will just fix the Library. Thanks. Last edited: Dec 18, 2011
Could you explain me exactly how that happens? Maybe a Project Demo and explaination how. Try to set it like this: Code: Copy ClickableTV.AddLinkText(TextView,"this is a click text",Colors.Blue,"EventName") ClickableTV.AppendText(TextView," ") and see if this will fix the issue. If yes i will just fix the Library. Thanks.
metrick Active Member Licensed User Longtime User Dec 18, 2011 #6 ReeZZer: I have attached the clickabletextdemo zip file. It seem like I can click any where on the empty space (far away from any words) of assigned Label2 and Getstring_clickablelink will always display a word close to it. I am also loading from text file and split contents into separated words into array and add to addlinktext via for loop. Thanks in advance Attachments clickabletextdemo.zip clickabletextdemo.zip 7.1 KB · Views: 651
ReeZZer: I have attached the clickabletextdemo zip file. It seem like I can click any where on the empty space (far away from any words) of assigned Label2 and Getstring_clickablelink will always display a word close to it. I am also loading from text file and split contents into separated words into array and add to addlinktext via for loop. Thanks in advance
anallie0 Active Member Licensed User Longtime User Jan 25, 2013 #7 excellent library, is it possible to have the same label 2 or more words touch with different links ?
excellent library, is it possible to have the same label 2 or more words touch with different links ?
ciginfo Well-Known Member Licensed User Longtime User Jul 23, 2013 #8 Library returns only a string? I should like when I click on the clickable word (number phone for example) open the resident application phone and dial the number. Is there possibility that an event open a resident appli?
Library returns only a string? I should like when I click on the clickable word (number phone for example) open the resident application phone and dial the number. Is there possibility that an event open a resident appli?
Blue.Sky Active Member Licensed User Longtime User Dec 24, 2015 #9 Hi Thank you for your library.because it is very easy and simple scale to labelextra I have a question How do i detect long click? I use EditText to detect string and not problem But i need to detect selection text via user for highlight it Is there any way?
Hi Thank you for your library.because it is very easy and simple scale to labelextra I have a question How do i detect long click? I use EditText to detect string and not problem But i need to detect selection text via user for highlight it Is there any way?
Rusty Well-Known Member Licensed User Longtime User Mar 7, 2019 #10 Can this library be updated to support string colors for example. ClickableTV.AppendText(TextView,"TextToAppend", colors.blue) Thanks Rusty
Can this library be updated to support string colors for example. ClickableTV.AppendText(TextView,"TextToAppend", colors.blue) Thanks Rusty
DonManfred Expert Licensed User Longtime User Mar 7, 2019 #11 Rusty said: Can this library be updated to support string colors for example. Click to expand... reeZZer was last seen:Oct 26, 2015 Click to expand...
Rusty said: Can this library be updated to support string colors for example. Click to expand... reeZZer was last seen:Oct 26, 2015 Click to expand...