Configuring Drag From events
To configure events in the Drag From Events property:
- With a form open in Design Mode, select the component from which you want to enable dragging.
- In the “Component” property sheet for that component, select the “Events” tab.
- Select the “Drag From Events” property and click the ellipsis (“”) button to its right.
- 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.
相关主题