Which edit box to use for clickable link? lazarus / 61-Beginners ---------------------------------------------------------------------- bulrush · 2016-06-06 15:42 Lazarus 1.6.0 and FP 3.0.0 on Windows 7 In my About screen I'd like to use an edit box which supports a clickable HTML link. Which edit box do you recommend? Please let me know if it's a standard component or something I have to install. Thank you! You're awesome! ---------------------------------------------------------------------- balazsszekely · 2016-06-06 16:02 Hi bulrush, Drop a TLabel to your form, set font color, font size, font type, etc.. Use OnMouseEnter, OnMouseLeave to apply/remove the underline style to the font,  OnClick event the run the browser. ---------------------------------------------------------------------- bulrush · 2016-06-06 18:37 I'm having trouble opening the URL using the OS default browser. Anyone have any hints? I'm trying to open the URL directly using TProcess like this: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i procedure TfrmAbout.lblWebpageClick(Sender: TObject);var AProcess:TProcess;beginAProcess := TProcess.Create(nil); // Tell the new AProcess what the command to execute is.// Let's use the Free Pascal compiler (i386 version that is)AProcess.Executable:= lblWebpage.Caption; // Pass -h together with ppc386 so actually 'ppc386 -h' is executed://AProcess.Parameters.Add('-h'); // We will define an option for when the program// is run. This option will make sure that our program// does not continue until the program we will launch// has stopped running.                vvvvvvvvvvvvvv//AProcess.Options := AProcess.Options + [poWaitOnExit]; // Now let AProcess run the programAProcess.Execute; // This is not reached until ppc386 stops running.AProcess.Free;end;  But I get a runtime error, and I don't want to wait for the executable (browser) to close before coming back to my program. The runtime error was: "Failed to execute: 2". ---------------------------------------------------------------------- Blaazen · 2016-06-06 18:41 I use this: http://wiki.freepascal.org/openurl ---------------------------------------------------------------------- bulrush · 2016-06-06 18:44 Thank you. I found this too: http://wiki.freepascal.org/Executing_Exte rnal_Programs#Open_web_page_in_default_web_browser ---------------------------------------------------------------------- tk · 2016-06-06 19:45 In our KControls (http://tkweb.eu/en/delphicomp/kcontrols.html) there is TKLinkLabel component. But we now use KMemo and its TKMemoHyperlink because the text can be selected and copied to clipboard. When KMemo is readonly the link can be clicked directly, when not Ctrl key must be pressed. The link may open some URL in browser or has OnClick property to perform custom task when clicked.