Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Create member in code before other members instantiate
Message
 
À
31/08/2009 14:36:35
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01421954
Message ID:
01422069
Vues:
148
Hi Dragan,

I guess that ControlSources that link to aliases are your problem. The proper way in VFP would be to set BindControls to .F. in the form, open the tables in the BizObject when you need them in code and change BindControls to .T. when the form and all objects are fully instantiated.

If your issue is really the Init event (some how I doubt this, though), then the solution would be to set the NoInit flag for all contained control and call Init from the Init event of the business objects. The NoInit flag is available from the Class > Edit Properties and Method when you select the contained control.
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform