Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo field reverts to old value when focus returns to i
Message
De
06/08/1999 13:40:39
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00249541
Message ID:
00250788
Vues:
27
An interesting behavior occurs when closing a drop-down combo list by click on the dropdown arrow. A non-printable character get's inserted into the DisplayValue and can get added to the combo list unless you trap for it.

In version 5.0, my condition was this:
IF TRIM(this.value) <> TRIM(this.displayValue) .AND. !EMPTY( this.displayValue ) .AND. ASC( this.displayvalue ) >= 30
HTH.

>
>IF This.DisplayValue == This.Value && They typed something that is in the list
>   RETURN
>ENDIF
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform