General information
Category:
ActiveX controls in VFP
Title:
SCREEN=OFF Problem when using ActiveX Controls
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only