?
Solved

Adding URL hyperlink functionality to RichEdit

Posted on 2004-04-24
5
Medium Priority
?
278 Views
Last Modified: 2013-11-22
How can I add a URL hyperlink into a tRichEdit?

Important: The link-name migth not be the same as the URL-address - fx:

"Click HERE to go to the Experts-exchange-homepage"
0
Comment
Question by:hutelihut
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 11

Accepted Solution

by:
shaneholmes earned 500 total points
ID: 10909945
Add Richedit to your uses clause and then the followinf to your Form's OnCreate event

procedure TForm1.FormCreate(Sender: TObject);
begin
 SendMessage(RichEdit1.Handle, EM_AUTOURLDETECT, 1, 0);
end;


Shane
0
 
LVL 11

Expert Comment

by:shaneholmes
ID: 10909947
If you want to add a Url which may have a different caption, then you will need a third party solution, cause its not supported in TRichEdit

SHane
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses
Course of the Month15 days, 11 hours left to enroll

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question