Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Yea Vlad!
That was it! I went through Mark's code and removed some of the functionality regarding updating the Value and DisplayValue properties and it seems to work fine. Thanks!
Renoir
>Hi!
>
>Pardon for jumping in.
>
>We faced the same problem with combobox when tried some smart combobox refreshing code. When you change anything in combobox that bound to data field that can cause the field being marked as changed, even when you do 'Combo.Value=Combo.Value' or 'Combo.ListIndex=Combo.ListIndex'. The only proper way I know for refreshing the combobox is to use 'Combo.ControlSource=Combo.ControlSource' - when Value is in the list, combobox is refreshed correctly and value is selected, but data field is not marked as a change.
>
>BTW, quick way to check if anything changed:
>'2' $ getfldstate(-1)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement