OnStatus Event  
 

The OnStatus event is generated when the control state changes.

Syntax

Sub object_OnStatus ( [Index As Integer,] ByVal State As Variant, ByVal Description As Variant )

Remarks

This event is generated when the status of the control changes. Typically this occurs when a connection is being established with a server.

The State argument is a numeric code which identifies the state of the control. This is the same value as returned by the State property.

The Description argument contains a string which describes the new state. Applications may use this value to provide feedback to the user or for logging purposes.

See Also

AutoConnect Property, AutoDisconnect Property, IsConnected Property, Status Property