Gets and sets the last error that occurred on the control.
object.LastError [= errorcode ]
The LastError property can be read to determine the last
error that occurred for this control. If a value is assigned to this
property, it must either be zero (to clear the error) or a valid
error code for the control.