Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox default value
Message
From
13/11/2001 13:45:08
 
 
To
13/11/2001 13:35:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00580935
Message ID:
00581026
Views:
23
>>>>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.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform