Best Practice for updating the screen?

hlowe hlowe at
Tue May 23 11:30:02 EDT 2017

A while back I encountered a problem with datagrids not correctly redrawing
(its a long story). One of the LC team suggested this code (in the card
script) to force a screen redraw:

command RedrawCard
   # forces a card redraw by the Engine
   set the backcolor of me to the backcolor of me
end RedrawCard

It fixed the problem that I was having. I agree with Richard that, in
general, locking and unlocking the screen is the standard approach to
forcing a screen update. 


View this message in context:
Sent from the Revolution - User mailing list archive at

More information about the use-livecode mailing list