Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBoxes Property
Message
De
06/03/2001 11:42:17
 
 
À
06/03/2001 11:31:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00482259
Message ID:
00482270
Vues:
12
>I have a combo box with the value property being selected from an alias column.
>How do I allow the user to add a new value to the combo?
>I believe it is only a property needed to be changed.
>Please help,


You're a little vague in what you are doing here, but generally a new item is programmatically added to a combo usually in the Valid or Lostfocus of the combo using the AddItem() or AddListItem() methods. Often a test is also performed on the combo Value and DisplayValue properties to determine whether to add a new item. I.e. if Value and DisplayValue are not equal, user typed in something new so add it to the combo.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform