Hi Dragan,
I've never had any issues with focus or anything. I'm not using a browser control, although I suppose I could.
I'm just taking the HTML I have in a dbf memo field and sending it to the edit control then reading it back after the edit.
I might look at embedding a browser control in a form and trying that to see if I like it better.
Thanks for the suggestion.
Gary
>>Hi,
>>I have an email sending app that I wrote that allows users to edit the HTML body of the email when they want to customize a particular email. I just made a form class with dhtmledit class from the dhtmled.ocx embedded in it. It lets them do simple editing with rich text formatting. It has some limitations, but it works.
>>
>>
http://en.wikipedia.org/wiki/DHTMLEdit>
>Tried that one long ago, and it had lots of issues - namely, focus related. I never knew where my mouse pointer was. Instead, read what Rick says here:
http://www.west-wind.com/presentations/shellapi/shellapi.asp#_Editing_HTML (actually, read the whole thing, it's worth it).