A small bug which forces some unnecessary flashing...
viewer.lockcontrol=true
viewer.displayfile("xyz.png")
viewer.SetZoom100 'viewer.SetZoomWidthControl
'viewer.redraw 'does not change anything.
viewer.lockcontrol=false
'at this point, the image is not updated might the new zoom !
viewer.redraw 'should not need to add this again, lockcontrol=false should do it ?!
'now it is updated....
