Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which event in combo
Message
De
25/04/2000 04:04:03
 
 
À
25/04/2000 03:35:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00363025
Message ID:
00363028
Vues:
16
Hi Cemal.

>>Which event is run when the user types a value that is not an item from the combobox recordsource.
Thanks <<

There are a lot of events that fire:

KeyPress
InteractiveChange

If you are trying to determine whether or not the user typed in a value not in the combo's RowSource, the best place to check is in the combo's valid with code like this:
IF This.ListIndex = 0 AND !EMPTY( This.DisplayValue )
   *** The user typed in an item not in the list
   *** Take action here to add the item to the RowSource
   This.Requery()
ENDIF
Marcia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform