Topic: Go to Website...

I couldn't work out a script for the following:
https://s4.postimg.org/dwvjhzrnx/zzzzz_Temp21.png


Each records has different URL. Clicking on "Go to Website" button should open the website on user default browser.


Tried this but didn't work:

procedure Form1_Button5_OnClick (Sender: string; var Cancel: boolean);
begin
  openURL('edMainURL');
end;
Adam
God... please help me become the person my dog thinks I am.

Re: Go to Website...

Hi Adam,
Attached is an example from something I wrote a while ago.  It uses a postcode (zip code) from the tablegrid and builds a url in the script.
I think it should be enough to show you how to get your working.
Regards,
Derek.

Post's attachments

Attachment icon adam contacts.zip 347.54 kb, 377 downloads since 2017-04-19 

Re: Go to Website...

Hi Derek,


Thank you very much......................
It works now !!!
Appreciated...........

Adam
God... please help me become the person my dog thinks I am.