In Delphi in the Implementation Unit of the ActiveX control in the Initialization of the control it calls the following:
TActiveFormFactory.Create(
ComServer,
TActiveFormControl,
TMEIScheduleControl,
Class_MEIScheduleControl,
1,
'{1D3E976A-B76C-4D1C-B7BD-ACEF6AF04B95}',
OLEMISC_SIMPLEFRAME or OLEMISC_ACTSLIKELABEL,
tmApartment);
I took out the OLEMISC_SIMPLEFRAME support which isn't needed by VFP or VB anymore and VOILA!
Really COOL!
George, now if you knew how to link to the VFP OCXAPI.LIB from Delphi and we are really cooking! I haven't found enough documentation yet to show me how to properly link to the LIB file from Delphi. But when I do!!