Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form 2 Inits fires before Form 1 Deactivate completes?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Form 2 Inits fires before Form 1 Deactivate completes?
Divers
Thread ID:
00574205
Message ID:
00574205
Vues:
50
There are two forms:
1) Form 1 sets a record pointer
   Form 1's deactivate remembers pointer to an array (In a 'custom' 
   property).
2) Form 2 is selected off menu
   Form 2's init uses Form 1's table and reads though (to bottom) to populate a
   list control (ends at eof())
When I look at the pointer form 1 was spose to remember, it shows up as eof(), where form 2's read through left it.

The work around was to save the last point set by Form 1 before Form 2's read through and then reset after read loop completed. That was enough to stall it soze form 1's deactivate could complete the job.

Is there any way to force form 1's deactivate to complete before form 2's init is fired?
Imagination is more important than knowledge
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform