ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Design.Win Assembly / GrapeCity.ActiveReports.Design Namespace / Designer Class / EnableScripting Property
Example

In This Topic
    EnableScripting Property
    In This Topic
    Sets or returns a value indicating whether scripting is enabled for the designer.
    Syntax
    'Declaration
     
    Public Property EnableScripting As Boolean
    public bool EnableScripting {get; set;}

    Property Value

    true if the 'Script' tab is enabled and visible; otherwise, false. The default is true.
    Remarks
    This property controls the visibility of the 'Script' tab, allowing users to interact with the scripting features of the report designer. When set to false, the 'Script' tab is hidden, restricting access to script editing functionalities.
    Example
    // Enable the scripting tab in the designer
    designer.EnableScripting = true;
    // Disable the scripting tab in the designer
    designer.EnableScripting = false;
    See Also

    Reference

    Designer Class
    Designer Members
    ReportTabsVisible Property