Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in combobox?
Message
From
07/11/2005 12:33:43
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01065415
Message ID:
01066064
Views:
24
>>for save:
>> - if the object that has the focus has a controlsource, set the focus to it [ = write value to disk buffer ]
>> - table update
>> - form refresh()
>>
>>for cancel
>> - table revert()
>> - form refresh()
>
>We have form refresh in Save and Cancel methods of the form. However, for some unknown reason it's not enough for array based comboboxes. Only explicitly calling combo's refresh fixes the problem.

Nadya,

It may have something to do with the fact that the combo's list of values does not accept the current value of the combo (and style = 2)

If that is the case, add the unaccepted value to the array (for a test ) and see whether it still behaves badly
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform