VLPropertyList Reference

MethodCancel

(For advanced usage)
See Also See Also Applies To Applies To

VLPropertyList control will call this method of an editor when it needs to cancel the current editing session. The editor implementor must honour a cancel request.

 

Syntax

object.Cancel

 

The Cancel method syntax has these parts:

PartDescription
object An object expression evaluating to CEdtior.

 

Remark

The editor should in turn respond by indicating cancelling of editing session by calling NotifyCancel of the editor listener object. Typically the code will be as given here :

Private Sub CEditor_Cancel()
   If (Not m_listener Is Nothing) Then
      Call m_listener.NotifyCancel(Me)
   End If
End Sub