Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Init event
Message
De
05/06/1997 12:07:51
Holly Clawson
Travelcenters of America
Westlake, Ohio, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00035152
Message ID:
00035221
Vues:
42
>>Does anyone have an idea on this. I create 3 different arrays in the init event of the formset. The first time I run the form the arrays are created, but when the got focus of the first control is taken the arrays are gone and can not be found. Although, after run the form the first time I can run as many times as I want and the arrays are found.
>>
>>Holly Clawson
>
>You could create the arrays as properties as Edward suggested or move the code to the load method. Problem is the controls need the arrays created when they are loaded and the form init method doesn't fire until all items in the form are loaded. The first thing to fire is the form (formset) load method.


Even if I create the arrays in the load event the first time through I get the error array does not exist. I put the code in all of the load events for all the forms I use. Same thing.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform