@Bart:
Must be a firm decision as something similar was asked (and same openURL suggested by me) a couple of days ago by TS
here.
@1HuntnMan:
I see you do exactly the same as in the other thread.
Could you enlighten us (or at least me because I am truly puzzled) , what in earth does 'extract strURL' actually do ?
Is that a tool registered to the URL mimetype on your system or something ?
edit:
Just make a simple test to check if things work as expected
procedure TFrmAboutPMS.StaticTxtNFPAClick(Sender: TObject);
var
strURL : string;
begin
strURL:= 'https://www.google.com';
ShellExecute(0,nil,PChar(strURL),nil,nil,SW_SHOWNORMAL);
end;
If that works for you then work on obtaining the URL from the caption and modifying it. If the text in the string isn't an actual URL then shellexecute does not know what to actually do with that string either.