Toggle always on top

Hello All

How to toggle the main form to be always on top and not on top?  I have a
function that has

FormStyle = fsStayOnTop


FormStyle = fsNormal

but the screen flashes.  I want to do this smoothly without any flashing on
the screen, how can I achieve that?