Salesforce

How Do I Copy Data Within an Application by Dragging It? (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

How Do I Copy Data Within an Application by Dragging It? (Magic xpa 2.x)

To allow drag and drop in an application, set the Allow Drag and Allow Drop properties to Yes.

If that is all you do, you can drag and drop data between the fields and Magic xpa will do the conversion if possible. For instance, in this example, we dragged a date from an Alpha field into a Date field.

To do more advanced drags and drops, you may need to use some of the drag and drop functions and handlers in Magic xpa. The Drag Begin and Drop event handlers allow you to capture when a Drag or Drop is taking place. The DragSetData and DropFormat functions give you more control over the format.

See also

The Online and Rich Client Samples projects (program HG03 and RHG03)

Reference
Attachment 
Attachment