Specifies the maximum number of milliseconds the script will run before an error will be generated.
Specifies the maximum number of milliseconds the script will run before an error will be generated.
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