Alex Restrepo PreviewCanvas

I have seen an earlier forum thread about fixing this. It does not work for me. Please could someone send me a link to a fixed or updated version.

Thanks