Thema: Delphi Problem with TEmbeddedWB

Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.768 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: Problem with TEmbeddedWB

  Alt 22. Mai 2006, 17:31
I do not see coding error in your code.
Might this be a problem with the visibility of the Browser
Component.

May you can try to give the Procedure the webbrowser
as parameter.

Good Luck
Klaus

Delphi-Quellcode:
procedure TForm1.ReadWBOptions(ABrowser:TEmbeddedWB);
begin
  Ini := TIniFile.Create(ExtractFilePath(Paramstr(0)) + 'data.ini');
  try
    if Ini.ReadBool('Options', 'LoadPictures', True) = True
      then ABrowser.DownloadOptions := [DLCTL_DLIMAGES];
  except
    ABrowser.DownloadOptions := [DLCTL_DLIMAGES];
  end;
end;
Klaus
  Mit Zitat antworten Zitat