Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Interactivechange
Message
De
01/09/1999 22:01:18
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00260429
Message ID:
00260434
Vues:
10
>I will to validate a combobox change.
>When a user select another combobox option from the list, i will validate if that change can be made. if not i display a message and will show the original value that has the combobox when the user selected.
>I try Return .F. and NODEFAULT but still changes the combobox value.
>The combobox is populated from a cursor.

You may store the value e.g. in Combo.Gotfocus event:
This.Tag=This.Value
and restore it in InteractiveChange:
IF something invalid
This.Value=This.Tag
Else
This.Tag=This.Value
Endif
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform