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
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to