The dropTarget attribute determines whether dropSource stimuli can be dragged and dropped onto this stimulus.
or
/ dropTarget = expressionName | Type | Description |
---|---|---|
boolean | boolean | True or false |
expression | value | An expression that resolves to true or false |
If set to true, the stimulus can accept dropSource stimuli that are dragged and dropped onto it when the inputDevice mode is set to 'mouse' or 'dragdrop'. If false, the stimulus does not accept drag and drop stimuli.
The following enables dropSource stimuli to be dragged and dropped onto a shape:
<shape someshape>
/ hposition = 95
/ dropTarget = true
</shape>
The following enables or disables dropSource stimuli from being dragged and dropped onto a shape depending on a value:
<shape someshape>
/ dropTarget = values.dropmode
</shape>