WaitTimeoutMSec

Returns the current timeout in milliseconds for all Flex Terminal Emulator wait methods, or sets the timeout value.


Syntax

FlexScreen.WaitTimeoutMSec


FlexScreen.WaitTimeoutMSec = TimeoutValue


Parameters


TimeoutValue

Integer, input



Number of milliseconds before Flex Terminal Emulator wait methods will timeout, where 20,000 is the default value.

Examples

Sub Main()

MsgBox FlexScreen.WaitTimeoutMSec

End Sub


Sub Main()

MsgBox "Default timeout value is:" & vbCrLf & vbCrLf & FlexScreen.WaitTimeoutMSec & " milliseconds"

FlexScreen.WaitTimeoutMSec = 30000

MsgBox "New timeout value is:" & vbCrLf & vbCrLf & FlexScreen.WaitTimeoutMSec & " milliseconds"

End Sub