mobileFX JavaScriptX - Google V8 JavaScript Embedded Framework
JavaScriptXLib ActiveX DLL / ScriptControl Object / Timeout Property
In This Topic
    Timeout Property
    In This Topic

    Specifies the maximum number of milliseconds the script will run before an error will be generated.

    Property type
    Read-write property
    Visual Basic
    Public Property Timeout As Long

    The property is offer for compatibility with Micrsofot Script Control and does not affect JavaScriptX functionality.

    Private Sub Form_Load()
        Set SC = New ScriptControl
        SC.Language = "JavaScript"
        SC.AllowUI = True
        SC.SitehWnd = Me.hWnd
        SC.UseSafeSubset = False
        SC.Timeout = 60
    End Sub
    See Also