SpinEdit Change event gives error when Value is deleted

If a user deletes the entire value in a SpinEdit control, the SpinEdit
Change event gives a  '    " is not a valid integer value '  error
when accessing SpinEdit1.Value.  This also happens if the entire value
is selected/highlighted and a numeric key is pressed.  Any way to
avoid this ?  If a Try..Except can be used, please show example code.


remove "_nospam" to respond by email