DRAGDATA

 

 

Purpose

.DragData enables you define the data in the payload when you perform a Drag operation from a Static Icon.

Syntax

Setting:           ObjectReference.DragData = Value

Retrieving:       Variable = ObjectReference.DragData
 

Operation

ObjectReference is the Tag Name of the object
Value
is a character string with a maximum length of 250 bytes
Variable
is an alphanumeric variable 

Remarks

When you perform a drag, the data payload associated with the drag consists of a string with a maximum length of 250 bytes, and a Drag Type. This, in combination with the target object’s DropTypeAllowed property enables the Open Client to validate that matching data is being dropped (e.g. a person can only be dropped on person target, a machine part on a machine parts target, etc.). 

Example

To place the string 'Joanna Smith' into the drag payload of a Static Icon with a Tag Name of StaticIconTag:

StaticIconTag.DragData = ‘Joanna Smith'

 

Note: This property applies to PROIV Open Client only.

 

Comment on this topic

Topic ID: 510165