Sets or cancels an ABL wait state that blocks user and system input.
Return type: LOGICAL
Applies to: SESSION system handle
The value of state-string determines the wait state and the type of wait cursor displayed. The valid values are:
Input is blocked and the wait cursor is displayed until the wait state is cancelled. The null string ("") cancels the wait state.
The SET-WAIT-STATE( ) method accepts an arbitrary mouse pointer name (any string which is a valid argument to the LOAD-MOUSE-POINTER( ) method) as an argument, in addition to the "GENERAL", "COMPILER", and "" states. The return value is TRUE if the wait-state is set successfully; otherwise the return value is FALSE.
Note that this method is intended to provide user feedback for lengthy processing that involves no user input, such as compiling procedures, doing a time consuming database lookup, or some long CPU and memory operation like computing the value of p.
This method is not supported in character mode.
If an error occurs from this method, the AVM displays the error and terminates the wait state.