OnCancel Event

The OnCancel event is generated when an operation is canceled.

Syntax

Private Sub object_OnCancel([Index As Integer])

Remarks

The OnCancel event is generated after an operation is canceled by calling the Cancel method.

Example

Private Sub FileTransfer1_OnCancel()
    lblFileStatus.Caption = "Operation cancelled"
End Sub

See Also

OnError Event, Cancel Method


Copyright © 2008 Catalyst Development Corporation. All rights reserved.