Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interactivechange
Message
From
01/09/1999 22:01:18
 
 
To
01/09/1999 21:02:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00260429
Message ID:
00260434
Views:
9
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform