Chapter Contents

Previous

Next
Frame Class: _completeDrag

Frame Class: _completeDrag



Completes a drag operation and allows the move operation to remove the object after the drop so no data are lost


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 Update 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 code is not 'Cancel'. Remove any visual changes added in the _startDrag method. If no valid drop occurs, code is 'Cancel'.


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.