Information générale
Catégorie:
Contrôles ActiveX en 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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement