AX_TIMEOUT

Set the time-out value for an ActiveX control

WSupported on Windows

 

 

 

xcall AX_TIMEOUT(wait_time)

wait_time

The input time-out (or “wait”) in seconds for I/O processing to be completed before returning to the calling routine. (n)

D_IMMEDIATE or 0

Time out immediately.

D_FOREVER or -1

Never time out.

D_GLOBAL or -2

Use the global value. (default)

#seconds

Wait up to #seconds for I/O processing to be complete.

AX_TIMEOUT changes the time-out setting for AX_INPUT. A call to this subroutine overrides the g_wait_time setting (the default time-out setting), but will be overridden by a time-out value set with AX_INPUT.

Note

Toolkit does not time out while an application is suspended. For example, Toolkit does not time out while a menu is dropped down or a message window is open on Windows.