Sets or returns a Boolean value that indicates whether a running script, or the ScriptControl itself, is allowed to display user-interface elements.
Sets or returns a Boolean value that indicates whether a running script, or the ScriptControl itself, is allowed to display user-interface elements.
Visual Basic |
---|
Public Property AllowUI As Boolean |
Boolean value that is True if display of user-interface elements is allowed; False if it is not.
The property is offer for compatibility with Micrsofot Script Control and does not affect JavaScriptX functionality.
The AllowUI property applies to user-interface elements displayed by the ScriptControl itself or user-interface elements displayed by the scripting engines.
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