|
-
Apr 23rd, 2013, 07:21 AM
#1
Thread Starter
Addicted Member
Add <br/> to webbrowser on return...
I have a WebBrowser control added to my form, which I am allowing users to create custom html email templates. The problem I have is that when you with the 'Return' key, the cursor jumps what looks like 2 lines. I've looked at the HTML behind it and it seems to add a <p> (Paragraph) item each time, whereas I would like a line break <br/> to be using when the return key is pressed.
I have looked around and am unable to find anything. Could someone help me to to override the KeyPress event on the WebBrowser and for a <br/> to be used instead of <p>. I know that the WebBrowser does not have a KeyPress event, hence I need some help on how to capture key presses.
Thanks in advance
Simon
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|