Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DHTML Editor ActiveX
Message
 
 
To
21/12/2001 12:44:18
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, United States
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00597452
Message ID:
00599187
Views:
19
>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
Map
View

Click here to load this message in the networking platform