General information
Category:
Forms & Form designer
Title:
My List Box won't return '0' when selected from my list
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only