Chapter Contents |
Previous |
Next |
Widget Class: _completeDrag |
Syntax | |
Details |
Syntax |
objectName._completeDrag( representation, operation,dataList,successfulDrop ); |
objectName._completeDrag( objectID ); |
Argument | Type | Use | Description |
---|---|---|---|
representation | Character | Input | specifies the representation selected for the drop |
operation | Character | Input | specifies the operation selected for the drop |
dataList | Numeric | Update | specifies the identifier of the SCL list that contains the data defined by the representation |
successfulDrop | Character | Input | specifies the cancel flag set in the _validateDropData method: ACCEPT indicates successful completion, CANCEL indicates drop was cancelled |
objectID | SASHELP.CLASSES.DRAGANDDROP.CLASS | Input | specifies the identifier of an object containing drag and drop data |
(1) objectID is sashelp.classes.draganddrop.class
Details |
The _completeDrag method is called automatically when a drag operation is completed. Action should be taken only on the source data if the operation is Move and successfulDrop is not 'Cancel'. Remove any visual changes added in the _startDrag method. If no valid drop occurs, successfulDrop is 'Cancel'.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.