LastError Property  
 

Gets and sets the last error that occurred on the control.

Syntax

object.LastError [= value ]

Remarks

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.

Data Type

Integer (Int32)

See Also

LastErrorString Property, OnError Event