home *** CD-ROM | disk | FTP | other *** search
- *.............................................................................
- *
- * Program Name: MDEXIT.PRG Copyright: Borland International
- * Date Created: 7 Apr 94 Language: dBASE 5.0
- * Time Created: 16:11:09 Author: Borland dBASE R&D
- * /brief/library.src
- *.............................................................................
-
- *........................................................
- * Procedure Name: MDExit
- * Parameters: None
- * Ext Memvars: Form
- * Description: Closes and releases the current form
- *........................................................
- PROCEDURE MDExit
- PRIVATE lVoid, oForm
-
- #include "TalkOff.hdb"
-
- oForm = This.Form
- IF TYPE("oForm.ClassName") = "C"
- IF oForm.ClassName = "FORM" .OR. oForm.ClassName = "BROWSE"
- lVoid = oForm.Close() && close the form
- ENDIF
- ENDIF
-
- #include "TalkOn.hdb"
-
- RETURN
-
-