WaitTimeoutMSec

Returns the current timeout in milliseconds for all FlexTerm wait methods, or sets the timeout value.


Syntax

FlexScreen.WaitTimeoutMSec


FlexScreen.WaitTimeoutMSec = TimeoutValue


Parameters


TimeoutValue

Integer, input



Number of milliseconds before FlexTerm wait methods will timeout, where 10,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