Chapter Contents

Previous

Next
Widget Class: _setDragOp

Widget Class: _setDragOp



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


Syntax
Details

Syntax

return = objectName._setDragOp( );


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 used to keep the source and destination in sync. Programmers must provide the linkage. The type of operation is matched with the drop operation of a drop site object to determine if the drop is allowed. All previous drag operations are removed from this object. This is the preferred drag operation until another _setDragOp method or an _addDragOp method is called. If you specify more than one operation, the first is considered the default. Some hosts allow you to choose which operation to use at drag or drop time.


Chapter Contents

Previous

Next

Top of Page

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