As far as I remember there is a blog post from Javier Menendez on the Xojo blog on how to add html links to a TextArea. I wasn’t able to find it, though.
I will try to make it work but for my current usecase its a little to laborious.
So there is no “easy” way to just activate the ability of TextAreas to detect the Hyperlink out of the RTFData?
I also found the way to make clickable Lables with the Xojo Programming Textbook which is very easy to implement. But it doesnt help me in adding the Hyperlink in a Textarea (which it needs to be for my usecase) - Xojo: Learn Xojo Programming
Since the feature request has not led to any results so far, I tried to solve the problem myself (started strong and then slowed down a lot due to time constraints). The solution is therefore stuck at the experimental stage.
For the handling of URL/links in a TextArea I only see a solution with MBS plugins. I have managed to load and handle ASCII, RTF and RTFD text files with it.
I had to fight once back with the limitations of textareas, and the differences between macos and windows of them. so I changed to an htmlviewer and there you can make almost anything you want.
there are methods you can find to transform rtf to html, that’s the easiest way to go.
you can also implement some free javascript libraries like summernote or quill insode this htmlviewer and so you have a fully working text editor.
for now the code is too inside other codes so it’s not usable as is…
I would have to extract it and make a sample project, but why not
it was quite easy though I don’t remember having too much work for this.
and as it is based on free libraries, I don’t know if I’m allowed to sell something based on them…
If you’re not an expert you should check out a maintained library like GraffitiEditor because having built one myself, I can tell you it is nowhere near as simple as it’s been made out to be.
The source of this problem, for anyone wondering, is that Xojo’s RTF handling is a custom implementation that does not support hyperlinks.