Windows Component

Fnd_Wnd_SendCloseRequests

Fnd_Wnd_SendCloseRequests ({process number})

Legacy manual page 266

Parameters

ParameterTypeDescription
process numberLongintProcess number (optional)

Description

Adds the current process to the list of processes with windows that should be closed if the user Option- closes a window or selects Close All Windows from a menu. Fnd_Wnd_SendCloseRequests ` Send window close requests to this process.

The window displayed by the process should then call the Fnd_Wnd_CloseNow function whenever an outside call is received. If no process number is passed, the current process is used. Both the process name and number are stored, to make sure we are trying to close the same process that was submitted here. So you do not need to do anything to remove a process from the internal list stored by Foundation.

Extracted source text
            Fnd_Wnd_SendCloseRequests ({process number})

              Parameter               Type              Description
              process number          Longint           Process number (optional)

            Adds the current process to the list of processes with windows that should be closed if the user Option-
            closes a window or selects Close All Windows from a menu.
              Fnd_Wnd_SendCloseRequests ` Send window close requests to this process.

            The window displayed by the process should then call the Fnd_Wnd_CloseNow function whenever an
            outside call is received.
            If no process number is passed, the current process is used.
            Both the process name and number are stored, to make sure we are trying to close the same process that
            was submitted here. So you do not need to do anything to remove a process from the internal list stored
            by Foundation.