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