>The valid is the natural place to detect an invalid entry, but if an invalid entry is detected, what is the proper way to restore the combo to its state just prior to the user's entering a bad value?
The purpose for style dorpdowncombo is to allow the user to type ing a value that isn't in the list and then to save that value. if you want to limit the user to nly those items in teh list, that is what the dropdownlist is for.
As for restoring the combo; you would need to use a combo class to which you have added a property named OldValue. In the gotfocus you;
This.OldValue = This.Value
In the valid you would;
IF This.DisplayValue == This.Value
RETURN
ENDIF
IF This.DisplayValue is Invalid
This.Value = This.OldValue
RETURN 0
ENDIF