up Inquisit Language Reference

dropTarget attribute

The dropTarget attribute determines whether dropSource stimuli can be dragged and dropped onto this stimulus.

Member of

<button> <clock> <html> <picture> <shape> <text> <video>

Syntax

/ dropTarget = boolean

or

/ dropTarget = expression

Parameters

Name Type Description
boolean boolean True or false
expression value An expression that resolves to true or false

Remarks

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.

Examples

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>

Copyright Millisecond Software, LLC. All rights reserved.