Clickable Text within a TextField?

Hi all,

Making Text clickable is no problem, but making text clickable within a text box is another story. Basically this is what I am trying to accomplish.

Dynamic Text will be placed inside a TextField. Imagine a TextField with the following dynamic text:

aaaa
abbb
accc
addd
zyyy
aeee
xxxy

Is there a way to make each of those texts clickable, and have a function affiliated with them? If you click on “accc” it would have a different function than “zyyy” for example. Again, all of these texts would be placed into the one TextField.

Easier way to imagine this. Imagine a bunch of User Id’s on a chat program, like yahoo. You can scroll up and down, and click the names.

Thanks!