trichview.com

trichview.support




Re: hyperlink target as hint


Return to index


Author

Message

Yoerdes

Posted: 05/25/2003 7:00:40


Yoerdes wrote:

> I'd like to show the target of a hyperlink in RVE as a hint when

> hovering above it with the hand cursor. How can I achieve this?


I found it. In case it saves somebody's time, here the solution:



procedure TForm1.rveRVMouseMove(Sender: TObject; id: Integer);

begin

   Application.CancelHint;

   try

     if ID > -1 then

     {if ID = -1 then an AV happens; maybe the GetURL function should

handle this}

       rve.Hint := rve.RVData.GetURL(ID);

   finally

     Application.ShowHint := TRUE;

   end;

end;


Yoerdes








Powered by ABC Amber Outlook Express Converter