Chapter Contents |
Previous |
Next |
Widget Class: _drop |
Syntax | |
Details |
Syntax |
objectName._drop( representation, operation,dataList,dragStart, x, y ); |
objectName._drop( 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 |
dragStart | Character | Input | specifies where the drag started: INSIDE (inside the window containing the drop site) or OUTSIDE |
x | Numeric | Input | specifies the x location of the drop in pixels |
y | Numeric | Input | specifies the y location of the drop in pixels |
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 _drop method is called automatically after a drag site object has been dropped on a drop site object. The drop site is passed the data returned from the _getDragData method. The _drop method is the last method to be called in the drop sequence. It is to be used to perform any function that might require a new frame or application to be run. Make sure to test the representation and the action before responding to the drop.
X and Y are the pixel offsets of the drop within the drop zone. These values are good only for nonwidget drop zones. Op passed in may not be one of Move, Copy, or Link if a drop action was placed on the drop site. In that case, it can be one of those actions.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.