Best Practice for updating the screen?
hlowe
hlowe at me.com
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.
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.
More information about the use-livecode
mailing list