Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox weirdness
Message
De
23/08/2000 14:25:30
 
 
À
23/08/2000 14:16:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00408372
Message ID:
00408389
Vues:
24
>> if (aDir(thisForm.dirArray, 'g:\ssi605\data\hksreg\*.*') > 0)
>> thisForm.fileList.rowSource = 'thisForm.dirArray'
> this.Requery()
>> endif
< snip >
>Does the above bolded code help?
>Also, you might rather use RowSourceType of 7 (files). In this case, set the RowSource = "g:\ssi605\data\hksreg\*.*", after you have verified the directory exists.

The listBox populates fine. I don't want the behavior of rowSourceType=7. ThisForm.dirArray contains the values string values I want it to have, and it is the source for the listBox.

The problem: listBox.value is returning the numeric index of the array, not the string contained in the array.
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform