Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Class by Mark McCasland
Message
De
25/07/2001 11:43:29
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00534643
Message ID:
00535080
Vues:
17
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
Fil
Voir

Click here to load this message in the networking platform