Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Which event in combo
Message
De
25/04/2000 04:13:27
 
 
À
25/04/2000 04:04:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00363025
Message ID:
00363029
Vues:
20
>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

Thanks Marcia.
Exactly what i want to do is that.
Cemal
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform