Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parametizing Dataenvironment?
Message
De
24/09/1997 19:26:10
 
 
À
15/09/1997 09:58:30
Andrzej Majlich
Vulcan sp. z o. o.
Wroclaw, Pologne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00049913
Message ID:
00051498
Vues:
82
>>The form appears, the caption is set, but no table is loaded. It looks to me as if the DataEnvironment's init method executes before the form's so the tablename property hasn't been initialized yet.
>
>This is firing order of events:
>
>DE BeforeOpenTables
>Form Load
>Cursor Init
>DE Init
>Control Init
>Form Init
>....
>If want your controls assigned the proper controlsource you should open tables a long before Form Init event - the best place is Load.


Thanks for your suggestion. Sorry for the delay in replying - I've just come back to this problem.
In debug I can see what you say is so - that the controlsource's have already been assigned by the time I get to the Form Init event.

But, since it's the Form Init event that receives the parameter from the menu indicating the table for the form to use, how can I know which table to open when in the Form Load?

Perplexed
Martyn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform