Windows Component
Fnd_Wnd_CloseNow
Fnd_Wnd_CloseNow -> Boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
| No parameters required | ||
| Function result | Boolean | True if it is time to close the window |
Description
This method returns True if Foundation is trying to close all windows. For example, this routine will return True if the user Option-clicks (on Macintosh) or Alt-clicks (on Windows) a window’s close box. You can test for this condition in a window's form method using this routine. Case of : (Form event=On Load ) ... : (Fnd_Wnd_CloseNow) CANCEL : (Form event=On Outside Call ) ... End case
You should call this routine from any non-modal windows that do not already call Foundation’s Fnd_Gen_FormMethod method. This function should be tested before the On Outside Call form event test, since it will always be delivered during this form event. If you do call Fnd_Gen_FormMethod, Fnd_IO_InputFormMethod, or Fnd_IO_OutputFormMethod, you do not need to call this routine.
Extracted source text
Fnd_Wnd_CloseNow ➜ Boolean
Parameter Type Description
No parameters required.
Function result Boolean True if it is time to close the window
This method returns True if Foundation is trying to close all windows. For example, this routine will
return True if the user Option-clicks (on Macintosh) or Alt-clicks (on Windows) a window’s close box.
You can test for this condition in a window's form method using this routine.
Case of
: (Form event=On Load )
...
: (Fnd_Wnd_CloseNow)
CANCEL
: (Form event=On Outside Call )
...
End case
You should call this routine from any non-modal windows that do not already call Foundation’s
Fnd_Gen_FormMethod method. This function should be tested before the On Outside Call form
event test, since it will always be delivered during this form event.
If you do call Fnd_Gen_FormMethod, Fnd_IO_InputFormMethod, or
Fnd_IO_OutputFormMethod, you do not need to call this routine.