Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bind the combobox
Message
From
23/04/2007 08:36:21
 
 
To
23/04/2007 08:33:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01218463
Message ID:
01218825
Views:
20
>I've set ControlSource to the same field as RowSource and it work now. After all these years working with VFP, I'm still confused about the properties of the combobox. Why do we need 2 properties to set the source of a combobox (ControlSource and RowSource)? Why not just one? What's the difference between ControlSource and RowSource?

Setting ControlSource=RowSource is a bad idea.

RowSource determines the contents of the combo, that is, what the list of items is. ControlSource determines where the initial value comes from and where the value is stored as choices are made from the combo. When they're the same, you're going to get weird behavior.

What are you trying to accomplish here?

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform