Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo field reverts to old value when focus returns to i
Message
From
06/08/1999 13:40:39
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00249541
Message ID:
00250788
Views:
26
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
>
Previous
Reply
Map
View

Click here to load this message in the networking platform