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

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

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

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

    Example
    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