Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DHTML Editor ActiveX
Message
 
 
À
21/12/2001 12:44:18
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00597452
Message ID:
00599187
Vues:
20
>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
Fil
Voir

Click here to load this message in the networking platform