Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is wrong wiht the cbo BoundTo property!
Message
 
To
08/12/1999 09:35:47
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00300276
Message ID:
00301205
Views:
36
This is how I work around the problem, I did not change the properties but if I do a SetFocus of the cbo, the value is properly displayed.

So I lock the screen and setfocus on all cbo and unlock the screen.
This work but Jim is right, It best to do Avery thing in code in method to control 100% the cbo.

>BUZZER......I was wrong! I just tried this and it worked fine. Hmmm.
>
>
>
>>Hi Jean-Rene,
>>
>>Yup! That's likely your problem. What you could do is unbind the comboboxes at design time and then bind them on GotFocus and unbind them on LostFocus.
>>
>>
>>
>>
>>>I have a problem with the ComBo When I what to bound it to a field.
>>>
>>>I have 5 cbo in my form, and all 5 cbo are set like this:
>>>.BoundTo = .t.
>>>.controlSource = MyAlias.MyField1 && MyField2 for the second etc.
>>>.RowSourceType = alias
>>>.RowSource = MyTempCursor
>>>
>>>When I open the form, the cbo is not position on the right selection, but if I open the cbo, the right selection is preselected in the list.
>>>
>>>Is this normal because all 5 cbo point to the same RowSource?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform