DtvLong dal_wdg_del_wdg (iwd)

Deletes the widget and the corresponding mask with all fields from local memory.

Input Parameters Significance
DtvLong iwd widget Id [0 = active widget]

Output Parameters Significance
no -

Return Code Significance
0 no error
1 no widget active
2 trash-basket widget cannot be deleted
3 mask can not be deleted (userexit error)

Prior to deleting DataView will execute the Post_Mask userexit defined at the mask. If the userexit returns an error, DataView will cancel the deleting process.

The function automatically invokes the widget-delete listener function.


Copyright (c) 2004-2008 Macrobject Software, All Rights Reserved.
You can change this copyright message in the "Template Settings" dialog.