Click or drag to resize

DragDropServer Class

X#
Create the server for use in a drag-and-drop operation.
Inheritance Hierarchy
Object
  VObject
    DragDropServer

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 CLASS DragDropServer INHERIT VObject
Request Example View Source

The DragDropServer type exposes the following members.

Constructors
  NameDescription
Public methodDragDropServer
Construct a drag-and-drop server.
Important! Normally, this method should not be called in your application code. Instead use Window:EnableDragDropServer(TRUE) to make the window a drag-and-drop server.
Top
Methods
  NameDescription
Public methodCode exampleStartDrag
Notify the GUI that a drag-and-drop operation has started.
Top
Fields
  NameDescription
Public fieldoCargo
Cargo slot.
(Inherited from VObject.)
Top
Remarks
In Windows, "drag-and-drop" is a technique by which users can move files from one location to another, either visually (using the mouse) or through another system-accepted method. The server in a drag-and-drop operation is the source of the drag-and-drop operation. The user normally uses the mouse to select a group of files to drag (however, the application can choose any reasonable metaphor for selection). After selection, the application creates a drag-and-drop load by storing the file names in an array; it then calls the DragDropServer:StartDrag() method. When you call Window:EnableDragDropServer(TRUE), the window becomes a DragDropServer. The DragDropServer is a property in the Window and is called Window:DragDropServer.
See Also

Reference