General information
Category:
ActiveX controls in VFP
>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only