Board index » delphi » TEmbeddedWB & undo
Jim Green
![]() Delphi Developer |
TEmbeddedWB & undo2003-09-11 03:29:48 AM delphi31 I am using TWebBrowser as an HTML editor. To make life easier, I tried substituting TEmbeddedWB for TWebBrowser. Most things seem to work fine so far, with the exception of Undo. With TWebBrowser Ctrl+Z does Undo changes; with TEmbeddedWB cursor only movement is undone but not text/formatting changes. This is even true doing it programmatically with either "IOleCommandTarget.Exec(nil, OLECMDID_UNDO, 0, vaIn, vaOut)" or "IHTMLDocument2.execCommand('Undo', False, Unassigned)", so it doesn't seem to be just an issue with keystroke handling. Any ideas why TEmbeddedWB would disable Undo? I'm using D5, NT4 SP6, and IE6 SP1. Thanks Jim |