On Key Label Ctrl+S Do SaveMyForm > >Function SaveMyForm() >If 'check for if the form is a good form' > _Screen.ActiveForm.Save() >EndIf >EndFunc
TYPE("_screen.activeform") == "O" and; UPPER(_screen.activeform.BaseClass) = "FORM"Then you can have another condition to check if the form is a form with a save capability.