Page 1 of 1

How get hyperlink?

Posted: Mon Oct 30, 2017 6:24 pm
by Chinyaev
Hello!

How get tooltips to appear over hyperlinks?
I tried the OnTooltip method, but it does not work.

Re: How get hyperlink?

Posted: Mon Oct 30, 2017 8:47 pm
by salvadordf
Hi,

According to this :
https://www.w3schools.com/jsref/prop_html_title.asp

It should be enough to add a 'title' attribute.

Re: How get hyperlink?

Posted: Tue Oct 31, 2017 3:21 am
by Chinyaev
I mean url when hovering with a mouse (at the bottom of the window).

Re: How get hyperlink?

Posted: Tue Oct 31, 2017 7:26 am
by salvadordf
Hi,

Use the TChromium.OnStatusMessage event, put a TStatusBar in your form and change its text with the "value" parameter from the event.
The MiniBrowser demo shows this kind of text messages and it has all the code you need for this.

Re: How get hyperlink?

Posted: Tue Oct 31, 2017 1:59 pm
by Chinyaev
Thanks very much!