Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SCREEN=OFF Problem when using ActiveX Controls
Message
From
04/08/2002 06:08:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
SCREEN=OFF Problem when using ActiveX Controls
Miscellaneous
Thread ID:
00685955
Message ID:
00685955
Views:
53
Greetings one and all,

I am familiar with using screen=off in the config.fpw file to get rid of the flash at startup when using a top-level form. This usually works great.

However, my main form has several ActiveX controls, such as dbi-tech's ctHTML, ctToolbar, ctFrame, etc.. On first load, and only with an EXE ( not with an APP ), I get errors telling me that Object not found or 'This is not an object'-- referring to each and every ActiveX control on the form, as though it doesn't see it. I'm referencing these objects in the resize event of the main form, which gets called immediately. If I get rid of the config.fpw, no more problem, but then I get the flash at startup. Once I get past all the errors, then everything acts normally.

Has anyone ever had problems with SCREEN=OFF and using activeX controls.

I am using the following in the Activate event of the form:
_VFP.AutoYield = .F.
sys(2333, 0)

Any help much appreciated:
Reply
Map
View

Click here to load this message in the networking platform