up Inquisit Language Reference

textColor property

The foreground color used for displaying text.

Member of

<button> <clock> <instruct> <text>

Syntax

object.name.textColor

Read/Write

Type

color

Remarks

Examples

The following trial sets the color of a feedback message based on whether or not the response to the previous trial was correct:

<trial feedback>
/onTrialBegin = { if (trial.test.correct == true) text.feedback.textColor = green; else text.feedback.textColor = red; }
/ stimulusTimes = [0=feedback]
/ timeout = 1000
</trial>

Copyright Millisecond Software, LLC. All rights reserved.