做不到,不过你可以用TimerTick,代码,比如
If Forms.ActiveForm Is Nothing OrElse Forms.ActiveForm.Name <> e.Form.Name Then e.Form.CloseEnd If
http://www.foxtable.com/help/topics/1322.htm