StdObjectDeleteNew event

Occurs before WinStudio deletes an object that has not been saved. The event is fired during execution of

  • The default implementation of the StdFormDelete event
  • An event handler of the type Collection Delete
  • The Delete method in a script

The default implementation removes the new object immediately from the collection or subcollection.

The default implementation fires the following sequence of standard events:

  • StdObjectDeleteNew
  • StdObjectSelectCurrent
  • StdObjectSelectCurrentCompleted
  • StdObjectDeleteNewCompleted

Your application cannot call the default implementation by generating the event.

Remarks

The default implementation is a collection-level operation, which can occur in a collection whether or not the collection is current.

The StdObjectDeleteExisting event occurs before WinStudio marks as deleted an object that has been saved.