OnViewDeleted - cWebView
Sent to the view after a successful delete
Type: Event
Parameters
| Parameter | Type | Description |
|---|---|---|
| hoDDO | Handle | Handle of the DataDictionary object (DDO) that performed the delete |
Syntax
Procedure OnViewDeleted Handle hoDDO
Description
The events OnViewSaved, OnViewDeleted and OnViewCleared provide hooks where you can do things like: close the view after a save or delete, change edit mode, or possibly change buttons and captions.
These events are particularly useful with mobile style applications (peWebViewStyle is wvsDrillDown).
// navigate back after a delete
Procedure OnViewDeleted Handle hoDDO
Send NavigateCancel
End_Procedure
Note that this is sent as part of Request_Delete and not sent if Request_Delete is sent directly to the DDO.