Configuring Drag From events

To configure events in the Drag From Events property:

  1. With a form open in Design Mode, select the component from which you want to enable dragging.
  2. In the “Component” property sheet for that component, select the “Events” tab.
  3. Select the “Drag From Events” property and click the ellipsis (“...”) button to its right.
  4. Use the “Edit Drag From Events” dialog box to assign one or more events to the “Drag From Events” property.
注意:For the drag-and-drop operation to work, you must have a corresponding “Drop On Event” with the same event configured.
相关主题