AutoRedraw does not exist anymore. Is there an easy way to do this in code?