Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi webbrowser + disable "save changes' (https://www.delphipraxis.net/84106-webbrowser-disable-save-changes.html)

mr_fahrrad 11. Jan 2007 12:27


webbrowser + disable "save changes'
 
How I disable the popup "tha page has changed, save changes?' in webbrwoser edit mode?

toms 11. Jan 2007 17:50

Re: webbrowser + disable "save changes'
 
I would have a solution for word documents but not for an open excel file.

mr_fahrrad 11. Jan 2007 19:19

Re: webbrowser + disable "save changes'
 
show me the solution

Zitat:

Zitat von toms
I would have a solution for word documents but not for an opened excel file.


toms 11. Jan 2007 19:49

Re: webbrowser + disable "save changes'
 
Liste der Anhänge anzeigen (Anzahl: 1)
I've attached a small demo.

mr_fahrrad 15. Jan 2007 12:14

Re: webbrowser + disable "save changes'
 
anybody have a Idea to solve my problem?

marabu 15. Jan 2007 13:59

Re: webbrowser + disable "save changes'
 
Hi,

you should switch off designMode (property of IHTMLDocument2) in order to suppress the safety dialog:

Delphi-Quellcode:
with WebBrowser.Document as IHTMLDocument2 do
  designMode := 'Off';
Regards


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:31 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz