Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control Source Gets Lost
Message
From
11/05/2001 15:37:39
 
 
To
11/05/2001 15:18:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00506255
Message ID:
00506372
Views:
12
The reason I set BoundTo = .T. is if my controlsource is numeric. From what I understand from the help (and it is consistent with what I've experienced), the combobox will save "3" if you've selected the third item in the list, although "3" might not be the value you really want. Then, if for some reason the list changes (for example, it is based on another table), and the value that was the third becomes the fourth, the combobox will still see the "3" that was saved and display the "new" third item.

But if your controlsource isn't numeric, this setting should not affect the combobox's behavior. I have set the BoundTo property to .T. in my base classes.

>Thanks for responding. The BoundTo property is not set to .T. but when reading the help on this, it says that "This setting provides compatibility with Microsoft Visual FoxPro 3.0 and 2.x versions of FoxPro." and it seems that it is unnecessary.
Sylvain Demers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform