Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is wrong wiht the cbo BoundTo property!
Message
 
À
08/12/1999 09:35:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00300276
Message ID:
00301205
Vues:
35
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform