A Adnil Unregistered / Unconfirmed GUEST, unregistred user! 2003-03-25 #2 uses mshtml; var range : IHTMLTxtRange; begin while DTHMLEDIT1.Busy do ADProcessMessages; range := dhtmledit1.DOM.Selection.CreateRange as IHTMLTxtRange; range.pasteHTML('<hr>'); end;
uses mshtml; var range : IHTMLTxtRange; begin while DTHMLEDIT1.Busy do ADProcessMessages; range := dhtmledit1.DOM.Selection.CreateRange as IHTMLTxtRange; range.pasteHTML('<hr>'); end;
X xda Unregistered / Unconfirmed GUEST, unregistred user! 2003-03-25 #3 谢谢Adnil,顺便问一下用以下语句能否将横线插入到当前位置: Dhtmledit1.DOM.body.insertAdjacentHTML
X xda Unregistered / Unconfirmed GUEST, unregistred user! 2003-03-25 #4 再请教一下,ADProcessMessages是什么意思?
A Adnil Unregistered / Unconfirmed GUEST, unregistred user! 2003-03-27 #6 ADProcessMessages就是application.processmessages