Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to populate a listbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01086295
Message ID:
01086562
Vues:
17
>DIMENSION aContents[ 5 ]
>
>FOR lnI = 1 TO 5
>aContents[ lnI ] = "A"+ALLTRIM(STR(lnI))
>ENDFOR
>WITH Thisform.List1
>  .RowSourceType = 5
>  .RowSource = "aContents"
>  .Requery()
>  .ListIndex = 1
>ENDWITH
Your array went out of scope. That's why we both suggested to use a property of the form or listbox.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform