General information
Category:
ActiveX controls in VFP
>Does anyone have any sample code for using the DHTML Editor ActiveX? I want to give my users the ability to create an HTML document from within VFP7.
>
>Thanks.
I've used this thing a lot. There are a couple of pearls I can share:
- Remove the control from the form explicitly in the destroy event of the form. Otherwise you will get a C0000005 error when the form unloads. At least, with VFP 6 and SP3 installed, that's what happens.
- Be sure dual-interface (i think that's what it's called) is turned off for ActiveX controls. There's a sys() call for this.
- Be advised it seems that every time Microsoft releases an update to IE, some subtle behaviors of this control change, such as how it handles focus and how it sometimes captures keystrokes even when another form has taken focus.
Previous
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