Hi All
I'm using Gecko1 componrnt in my application for mini browser. It's works fine except when they is not network/internet connection, a window popup with no title with two buttons (one for OK and another for cancel).
I tried to prevent that with try..except..end; statement as above:
procedure Tfrm1.btnBrowserGoClick(Sender: TObject);
begin
try
GeckoBrowser.LoadURI(edtAddress.Text);
except
ShowMessage(ErrorComplaint + lisLineEnding + 'No Internet
Connection.');
end;
end;What can I do so that the window do not popup in case of no connection?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140420/044bf724/attachment.html>
