VLPropertyList Reference

MethodCommit

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

VLPropertyList control will call this method of an editor when it needs to commit the current value in the editor to the corresponding property. The editor implementer must honor a commit request.

 

Syntax

object.Commit

 

The Commit method syntax has these parts:

PartDescription
object An object expression that evaluates to an object of CEditor.

 

Remark

The editor should in turn respond by indicating committing of edited value by calling NotifyCommit of the editor listener object. Typically the code will be as given here :

Private Sub CEditor_Commit()
   If (Not m_listener Is Nothing)Then
      Call m_listener.NotifyCommit(Me)
   End If
End Sub