Skip to content

SetSyntaxAndColorScheme Method

Description

The SetSyntaxAndColorScheme method allows you to set the syntax and color scheme for the Syntax Edit ActiveX Control.

  • SyntaxScheme: (optional) A string representing the Syntax Scheme.
  • ColorScheme: (optional) A string representing the Color Scheme.
  • bScheme: (optional) A boolean indicating whether to show the internal editor with the passed Syntax Scheme (default is False).
  • bColors: (optional) A boolean indicating whether to show the internal editor with the passed Color Scheme (default is False).

Syntax

Public Sub SetSyntaxAndColorScheme( _
    ByVal SyntaxScheme As String, _
    Optional ByVal ColorScheme As String = "", _
    Optional ByVal bScheme As Boolean = False, _
    Optional ByVal bColors As Boolean = False _
)

Parameters

  • SyntaxScheme: The syntax scheme to apply.
  • ColorScheme: The color scheme to apply.
  • bScheme: Indicates whether to display the internal editor with the specified Syntax Scheme.
  • bColors: Indicates whether to display the internal editor with the specified Color Scheme.

See Also


See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.