>>New day, new problem. I have an Active X IE browser control saved as a class and:
>>.Navigate([About:Blank])
>>.Document.DesignMode=[on]
>>(other code left out here)
>>
>>If I drop it on a form and run the form it works. You can enter text, paste text with Ctrl+V and do the other normal things. I have a large program that starts with a form set and then creates all objects in the form from code with a ton of DEFINE CLASS...
>>That has been working great for some time. However, when I add the IE browser control object from the class that works on a normal form the following things happen:
>>You can CTRL+V to paste text.
>>You can use shift + DownArrow to mark text and CTRL+B will bold the highlighted text.
>>BUT
>>You cannot mark text with the mouse.
>>You cannot enter text with the keyboard.
>>It's like the object is disabled but you can do the few things above.
>>
>>Signed,
>>confused.
>
>Take this out
>>.Document.DesignMode=[on]
>
>And try this instead.
>This.Document.Body.contentEditable = .T.
Mike, I tried and it changed some things but the main problem is still there. Sergey suggested that I not try to do it with a complex form so I will try a new approach, allowing the user to edit the HTML but in a separate form.
I do really appreciate the help. Thanks.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn