Needing a text-component for chatting-application

I'm searching for a text-component to make a chat application.

I want to extract some text behind the mouse cursor:
if you move with the mouse over a text,
how can i get this text under the mouse (like babylon translator do this)

2.: i want to use colors in the text-component

3: the component should destroy the first lines (e.g. from 100), so that it
is possible
to make an infinite long chat (only the last 100 lines should displayed, the
rest should be destroyed)

Is it possible to manage this with an TMemo ore something like that (maybe
using API - Functions)

If theres someone out, who solved problems like that, please post the
essential source.

T'hanks a lot , ulf