Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SCREEN=OFF Problem when using ActiveX Controls
Message
De
04/08/2002 06:08:51
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
SCREEN=OFF Problem when using ActiveX Controls
Divers
Thread ID:
00685955
Message ID:
00685955
Vues:
54
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:
Répondre
Fil
Voir

Click here to load this message in the networking platform