Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My List Box won't return '0' when selected from my list
Message
From
03/06/2002 14:18:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
My List Box won't return '0' when selected from my list
Miscellaneous
Thread ID:
00664193
Message ID:
00664193
Views:
64
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
Next
Reply
Map
View

Click here to load this message in the networking platform