Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control Source Gets Lost
Message
De
11/05/2001 15:37:39
 
 
À
11/05/2001 15:18:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00506255
Message ID:
00506372
Vues:
14
The reason I set BoundTo = .T. is if my controlsource is numeric. From what I understand from the help (and it is consistent with what I've experienced), the combobox will save "3" if you've selected the third item in the list, although "3" might not be the value you really want. Then, if for some reason the list changes (for example, it is based on another table), and the value that was the third becomes the fourth, the combobox will still see the "3" that was saved and display the "new" third item.

But if your controlsource isn't numeric, this setting should not affect the combobox's behavior. I have set the BoundTo property to .T. in my base classes.

>Thanks for responding. The BoundTo property is not set to .T. but when reading the help on this, it says that "This setting provides compatibility with Microsoft Visual FoxPro 3.0 and 2.x versions of FoxPro." and it seems that it is unnecessary.
Sylvain Demers
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform