I've a little problem with the dgText datagrid's property that, in some circumstances hangs the execution of the script when set to empty.
To avoid to try to describe with words the problem I've prepared a little example stack that reproduce the issue.
Where and how can I attach this stack?
If I can't attach the stack here is how to create it:
- Create a new mainstack with a substack;
- Put a datagrid named "myDG" in the substack and a button in the mainstack;
- Put this lines in the script of the button:
Code: Select all
on mouseUp
set the dgText of grp "myDG" of stack "Untitled 2" to empty
set the dgText of grp "myDG" of stack "Untitled 2" to "Hello" & tab & "World" & tab & "!!!"
set the dgText of grp "myDG" of stack "Untitled 2" to empty
go to stack "untitled 2"
end mouseUp
The execution hangs after the first:
Code: Select all
set the dgText of grp "myDG" of stack "Untitled 2" to empty
Thank u for all and bye!
[PS: I've moved this post... I've posted it in the wrong place... excuse me]