up Inquisit Language Reference

dropsource attribute

The dropsource attribute determines whether the stimulus can be dragged and dropped on the screen.

Member of

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

Syntax

/ dropsource = value

or

/ dropsource = boolean

Parameters

property A property returning value of true (not 0) or false (0).
boolean A value of true or false.

Remarks

If set to true, the stimulus can be dragged and dropped onto a droptarget when the inputdevice mode is set to 'mouse' or 'dragdrop'. If false, the stimulus can not be dragged and dropped.

Examples

The following sets the position of the text to be the top right corner of the screen:

<shape someshape>
/ hposition = 95
/ dropsource = true
</shape>

The following sets the position based on the trial number:

<shape someshape>
/ dropsource = values.dropmode
</shape>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.