StdObjectDeleteExisting event
Occurs before WinStudio marks as deleted an object that has been saved. The event is fired during execution of any of these:
- The default implementation of the StdFormDelete event
- An event handler of the type Collection Delete
- The “Delete” method in a script
The marked object will be deleted from the database table when a save operation is performed.
The default implementation fires the following sequence of standard events:
- StdObjectDeleteExisting
- StdObjectDeleteExistingCompleted
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.
If the delete operation is performed on an object that has been marked as deleted, WinStudio removes the mark and the object will not be deleted when a save operation is performed.
Before the deletion of a new, unsaved object, the “StdObjectDeleteNew” event occurs.