well, the code looks good.

think only thing you need to add is after this line:
$FORMPASS.SHOW

add:
while $FORMPASS.visible $=execute($FORMPASS.doevents)

that should remove your both problems.

cheers.
_________________________
!

download KiXnet