Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My List Box won't return '0' when selected from my list
Message
De
03/06/2002 14:18:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
My List Box won't return '0' when selected from my list
Divers
Thread ID:
00664193
Message ID:
00664193
Vues:
65
Hi there,

I'm working on an application written in VFP 5.0. I have a list box on one of the forms, and on the INIT procedure, I have the following:

with this.lstComp
.AddListItem('0',1)
.AddListItem('1',2)
.AddListItem('2',3)
.AddListItem('3',4)
.AddListItem('4',5)
.AddListItem('5',6)
.AddListItem('6',7)
.AddListItem('7',8)
.AddListItem('8',9)
.AddListItem('9',10)
endwith

But when I run the application in debug and select the '0' choice, the listbox.value = "". Whenever I choose one of the other selections (1-9), listbox.value equals the selection I chose.

Any ideas how I can get my listbox.value and selcting '0' to work correctly?

Thanks,

Joe
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform