WinStudio
Occurs when the user clicks Delete on the Actions menu.
The default implementation handles new objects (that is, objects that have not been saved to a SQL Server table) and saved objects differently. WinStudio removes a new object from the collection immediately. WinStudio marks a saved object as deleted. The marked object will be deleted from the database table when a Save operation is performed.
The default implementation in forms without custom event handlers fires the following sequences of standard events:
Saved object
StdFormDelete
StdFormGetBoundValues
StdObjectDelete
StdObjectDeleteExisting
StdObjectDeleteExistingCompleted
StdObjectDeleteCompleted
StdFormDeleteCompleted
New object
StdFormDelete
StdFormGetBoundValues
StdObjectDelete
StdObjectDeleteNew
StdObjectSelectCurrent
StdObjectSelectCurrentCompleted
StdObjectDeleteNewCompleted
StdObjectDeleteCompleted
StdFormLoadBoundValues
StdFormLoadDerivedValues
StdFormDeleteCompleted
Your application can call the default implementation by generating the event.
The default implementation is a form-level operation. If the Delete operation is performed on an object that has been marked as deleted, WinStudio removes the mark and the object is not be deleted when a Save operation is performed.
A StdObjectDelete event and a StdObjectDeleteExisting or a StdObjectDeleteNew event is fired before each deletion.