This topic has been addressed before, but no solution that has been suggested has worked. maybe, because the description of the problem has not been adequate. i have one app developed with VFP 3.0b and another with VFP 6.0. In both apps i use an "ON SHUTDOWN" command to use the "X" button on the _screen form. In both apps there are two forms (besides the _screen). In the VFP 3.0b developed app, when i move from one form to the other, the "X" remains enabled. In the the VFP 6.0 developed app, when i move to the second form and then back to the first form, the "X" becomes disabled. when i move back to the second form again the "X" is enabled. can you please help me? i am developing on a Windows ME machine