Home > Back-end >  Delphi is similar to qq chat interface realization of link way
Delphi is similar to qq chat interface realization of link way

Time:10-18

In the qq chat screen, if there is a www.baidu.com or http://www.baidu.com, tend to appear blue and you can click on the link way, is excuse me this how to implement? Consists of two parts, one is how to appear the link; After the second is the link how can open?

CodePudding user response:

One is how to appear links; After the second is the link how can open?
1 look at the online richedit realization method of the hyperlink, you filter out from string adaptable to the rules of the url string, instead of hyperlinks.
2 can be opened

CodePudding user response:

You can also use the RichView this control, to www.2ccc.com to find,
Or use the WebBrowser control,

CodePudding user response:

Simonhehe SmallHand,
Thank you two are working on a moment

CodePudding user response:

Simonhehe SmallHand,


Convenient leave two qq?
I was 123182608 I
please addskype:[email protected]

Thank you very much
  • Related