The sort of thing i'm doing (For a menuing system) is:
mX=MOUSEX()
my=MOUSEY()
mClick=MOUSECLICK()
` Check the mouse is inside the width and height of the text
IF mX>=100 AND mX<=200 AND mY>=100 AND mY<=150
` Code to highlight Text here
IF mClick
` Code for option selected here
ENDIF
ELSE
` code to un-highlight the text here
ENDIF
The bit that is to do with hi-lighting Text would be something that displayed the text in a different colour, and add an else clause that displays the text in the normal colour if the mouse is not over the text.
I'm trying to knock up a small tutorial based around a menu function in DBPro.
Hope this helps,
Jas
p.s. this code was typed from memory so exuse any typos.