This article applies to:
This issue was introduced in E-Prime 126.96.36.199 (Update 1).
The DisplayDevice Object's Windows box methods do not execute correctly in Windows 7.
When the DisplayDevice Object's window box methods are called in script, (AnswerBox, AskBox, InputBox, or MsgBox) while running under Windows 7, the method does not execute as expected and no window box box is rendered. This behavior is specific to running under Windows 7; the window boxes appear as expected when running experiments in Windows 8 and Windows 10.
The following workarounds are available:
- Run the experiment in Windowed mode (for experiment development/debugging only)
- Implement the following script around the calls to the Windows box method:
...DisplayDevice.window box method code here...
CreateDefaultPort Color.Black, "", 1
For further information on scripting using E-Basic, please refer to the E-Prime Command Reference (https://pstnet.com/ecr).