BBjMDI::closeAll
Description
In BBj 3.0 and higher, this method attempts to close the BBjMDI window and any MDI client programs currently running within the BBjMDI window.
Syntax
Return Value |
Method |
---|---|
boolean |
closeAll(int timeoutInSeconds) |
Parameters
Variable |
Description |
---|---|
timeoutInSeconds |
The number of seconds the MDI will wait before generating an !ERROR=60 - General I/O Error. |
Return Value
0 = A client registered as a MDI close listener vetoed the operation.
1 = Successful operation.
Remarks
Before closing the MDI
window, this method will first call into any callback that was registered
through a call to BBjMDI::registerMDIClosingCallback.
If any of these callbacks invokes the method BBjMDI::vetoMDIClose,
then the MDI window will not be closed. If the timeout period expires
before all MDI clients have responded, then the MDI window will not be
closed.
In BBj 3.0 and 3.01, the closeAll() performs
and implicit RELEASE. As of BBj 3.02, there is no longer an implicit RELEASE
in closeAll().
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.