co trzeba zrobić aby webbrowser żeby był w trybie edycji [???]
bo znalazłem odpowiedz kod:
uses
MSHTML;
procedure TMainForm.PreviewBrowserDocumentComplete(Sender: TObject;
const pDisp: IDispatch; var URL: OleVariant);
var
CurrentWB: IWebBrowser;
begin
CurrentWB := pDisp as IWebBrowser;
(CurrentWB.Document as IHTMLDocument2).DesignMode := 'On';
end;
ale jak kompiluje pisze [Fatal Error] Unit1.pas(7): File not found: 'MSHTML.dcu'