Userexits

Functions
Widget-Event userexits

Functions

int xmgt_drp_evt ()
 Cut&Paste userexit when a "Paste" operation (Ctrl+V) is performed in the target widget. More...
 

Detailed Description

Function Documentation

int xmgt_drp_evt ( )

Cut&Paste userexit when a "Paste" operation (Ctrl+V) is performed in the target widget.

Calls the LogiView procedure passed in the pre-mask userexit parameter and writes record and widget attributes in the widget buffer of the target widget.

Note
This userexit is used instead of the standard DataView userexit dal_wdh_cop_pas(NULL, "PASTE") to enable Cut&Paste operation between widgets with different entities. DataView uses for Cut&Paste operations a virtual clone widget named CUT&PASTE. The standard DataView Cut&Paste (Ctrl+C) copies the selected records to this clone widget. Ctrl+V gets the records from the clone widget and writes them in the target widget. xmgt_drp_evt will be called by the PASTE action in the target widget.
Parameters
cp_ParameterReserved.
Returns
0 OK
1 Error