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

    Sets or returns a Boolean value that indicates whether a running script, or the ScriptControl itself, is allowed to display user-interface elements.

    Property type
    Read-write property
    Syntax
    Visual Basic
    Public Property AllowUI As Boolean
    Return Type

    Boolean value that is True if display of user-interface elements is allowed; False if it is not.

    Remarks

    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.

    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