Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox and Array Property and where to do what
Message
De
15/05/2001 16:20:29
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Listbox and Array Property and where to do what
Divers
Thread ID:
00507493
Message ID:
00507493
Vues:
68
I have a listbox using a form array property. I create and dimension the array property in the form's Init method and then populate it in a command button on the form. This works fine. The problem is that I want the listbox to populate when the form is called; I used the command button just to see if it would work as I was frustrated on trying to figure it out. No matter where I put the code that fills the array, other than in code that I will manually trigger, it always says that the array doesn't exist or it does exist, but no values appear. I think the difficulty lies in my lack of understanding regarding when things get called and the order of events firing. I know there's this "inside-out" logic to object and their parents, but I was pretty sure that by putting the code in the listbox Init I wouldn't have any problem. Why does the code in the command button work and not anywhere else? Anyone have insight to both the specific problem and/or the big picture? Thanks!

Regards, Renoir
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform