Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Modeless forms in a very large program
Message
De
28/01/2008 11:25:34
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01284682
Message ID:
01286161
Vues:
21
>One more question if I may. I am calling both of these in the Data Enviornment Load Tables event. If I don't I get errors because the control source for the text boxes, etc. do not exist. Calling the prgs from there has me a bit worried although it seems to work ok so far. Any thoughts?

You can do it in form's .load(), though then any objects of the form you may need are still not instantiated. As a legal workaround, you can do it in form's .init(), you only have to design the form with .BindControls=.f., and then in .init(), when you're done with opening tables, creating cursors etc, set it to .t. (too bad it's made to work only once - there are times when unbinding controls on a flip of a switch would be cool ;).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform