Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displaying variables that were defined in a message box causes modal popup to disappear early #1094

Open
kyle-kingsbury opened this issue May 31, 2023 · 0 comments

Comments

@kyle-kingsbury
Copy link
Contributor

kyle-kingsbury commented May 31, 2023

When you assign a value to a variable and then immediately try to display that variable value in a messagebox, the box will be exited automatically after about 3 seconds. If you wait 3 seconds and then display the message, it will not be exited automatically -- but will persist.
For example:
PX,-200,5,2
PAUSE, 0.1
&XPOS = %(1)
PAUSE, 0.1
PAUSE, "THIS IS YOUR XPOS " + &XPOS

The message will disappear

PX,-200,5,2
PAUSE, 0.1
&XPOS = %(1)
PAUSE, 0.1
PAUSE, "THIS IS YOUR XPOS " + &XPOS
PAUSE, "THIS IS YOUR XPOS " + &XPOS

The second message will stay displayed

PX,-200,5,2
PAUSE, 0.1
&XPOS = %(1)
PAUSE, 3
PAUSE, "THIS IS YOUR XPOS " + &XPOS

The message will stay.

It is not caused just by the variable being present in the message box. Any message box will be closed 3 seconds after assigning a variable value (after a probe move?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant