How do I save the contents of TWebBrowser, including user-entered form values?
问题 is it possible to save entire document loaded in Webbrowser (in Delphi) as a ordinary HTML file with new values (I mean values entered by user in html's forms this document)? I need this for reading this HTML document with all values next time when application will be used. 回答1: Sure this is possible! Small demo App, make a new vcl forms application, drop a TWebBrowser , a TButton and a TMemo on your form and use this code (don't forget to bind OnCreate for the Form and OnClick for the Button