BBjMsgBox::timeout
In BBj 25.03 and higher, this method sets the BBjMsgBox timeout in seconds. If not specified, the BBjMsgBox will wait indefinitely for the user to make a selection.
Syntax
Return Value | Method |
---|---|
BBjMsgBox | options (int timeout) |
Parameters
Variable | Description |
---|---|
timeout | Timeout in seconds (0 for no timeout). |
Return Value
Returns this BBjMsgBox object, enabling methods to be chained.
Remarks
If the user doesn't make a selection within timeout seconds, the BBjMsgBox returns a value of -1.
Example
|
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.