OnTimeout Event  
 

The OnTimeout event is generated after an operation times out.

Syntax

Private Sub object_OnTimeout([Index As Integer])

Remarks

The OnTimeout event is generated after an operation times out. The amount of time that the component will wait for an operation to complete can be controlled by the Timeout property.

Example

Private Sub FileTransfer1_OnTimeout()
        lblStatus.Caption =  "Operation timed out"
End Sub

See Also

Timeout Property, OnCancel Event