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. 

Henry



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Best-Practice-for-updating-the-screen-tp4715086p4715095.html
Sent from the Revolution - User mailing list archive at Nabble.com.

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to