Form-Close

Имя функции dcl-Form-Close
Синтаксис   (dcl-Form-Close <CONTROL> {DialogStatus [типа Long]})
Возвращаемый тип 2DPoint (upper left corner of dialog in screen coordinates)
Подходит к Control Bar, File Dialog, Modal Dialog, Modeless Dialog, Palette

This method closes the dialog box. If the optional DialogStatus argument is provided when closing a modal dialog, it will become the return value for the call to Form-Show that displayed the modal dialog. Note that the status codes 1 and 2 have predefined meanings in Windows (status code 1 is used when a dialog is closed by pressing [Enter], and status code 2 is used when a dialog is cancelled.)