Topic: How To Create A Hyperlinked Button?

How can I add a hyperlink to a button?

Re: How To Create A Hyperlinked Button?

Hello heribertom6466

If you want to open mail software :

procedure Form1_Label1_OnClick (Sender: string);
begin
    OpenURL('mailto:'+ Form1.Label1.Caption);
end;


If you want to open a Web page :

procedure Form1_Image1_OnClick (Sender: string);
begin
   OpenURL(Form1.Edit1.Text);
end;

Is it OK for you ?

JB

Re: How To Create A Hyperlinked Button?

Hello JB

This helps a lot!! Thank you bro.
Greatly appreciate it.


Eddie