Chapter Contents

Previous

Next
Widget Class: _setDropOp

Widget Class: _setDropOp



Sets the type of operations this object can handle as a drop request


Syntax
Details

Syntax

return = objectName._setDropOp( );


Details

When data are dragged from place to place, the data can be copied or moved or some linkage can be specified. Copy implies that the data are provided with no post-processing. Move implies that the data are provided and the source is removed. Link implies that some mechanism is to be used to keep the source and destination in sync. The programmers must provide the linkage. The _setDropOp method matches the op variable value with the drag operation of a drag site object to determine if the drop is valid. All previous drop operations are removed from this object. This is the preferred drop representation until another _setDropOp method or an _addDropOp method is called. If this method is not called, the default operation is COPY.


Chapter Contents

Previous

Next

Top of Page

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