... Antonio, muchas gracias. He revisado el código de la siguiente manera: static function fTimer( cMsg, bAction, nInterval ) local oDlg, oProg, oTmr DEFINE DIALOG oDlg TITLE cMsg @ 2, 3 PROGRESS oProg POSITION 0 SIZE 120, 10 oDlg:bStart = { || WaitRun(bAction, 0), oDlg:End(), SysRefresh() ...