>>>>At this point, i think you should reverse your smily to :(
>>>>
>>>>In my tests putting 1 in either displayvalue or value
>>>>show the first list element when the form was display...
>>>>
>>>>May be you have played to far with the setting of this listbox?
>>>
>>>Then, in that case, you'll be amazed when you'll run the sample form I just sent you. ;)
>>
>>It works...
>>When i remove the
17 in the value property
>>and put
1 in the displayvalue property.
>>
>>Only a @%^\* typo!
>
>I really don't understand.
>
>I never put 17 in the value property. When I open it here it shows 0. I can't succeed in making a value to be saved in either Value or DisplayValue property. As soon as I go back in the form, it's 0.
Ok, I have found the bug. There is definitely one.
The Value and DisplayValue properties not being saved are subject to the BoundTo property set to .F. but overwritten. I mean that if you right click to set to default, it'll appear .F. non bold which is in fact the same think as overwritting it with .F. in bold but VFP seems to not like it.