Label of this stack - refreshing problem
Posted: Wed Apr 25, 2012 9:53 am
Hello again,
just a small problem, but it's irritating.
The field "test" is empty the moment the card "Importieren" is shown. But the lable will change not before the repeat loop is at it's and.
So during the hole process of importing the label is shown the name of the card before.
How can I force LiveCode to refresh the label before the loop will start?
Thanks for reading and for a tip.
Jens
just a small problem, but it's irritating.
Code: Select all
# in the script of the stack:
on preOpenCard
set label of this stack to the short name of this card
end preOpenCard
# in the script of a card for a button:
on mouseUp
lock screen
go to card "Importieren"
put empty into field "test"
unlock screen
repeat with i = 1 to 1000
# do a lot to stuff in here
end repeat
end mouseUp
So during the hole process of importing the label is shown the name of the card before.
How can I force LiveCode to refresh the label before the loop will start?
Thanks for reading and for a tip.
Jens