patty, there is no console output in your test code.
so, it does not fit.
you add output after the hide, it surely does flash.
_________________________
!

download KiXnet