Unplanned
Last Updated: 15 Mar 2023 15:12 by ADMIN

Use the following code in the project:

    Private Sub btnToggleWW_Click(sender As Object, e As EventArgs) Handles btnToggleWW.Click
        RadSyntaxEditor1.IsWordWrapEnabled = Not RadSyntaxEditor1.IsWordWrapEnabled
        Me.Text = RadSyntaxEditor1.IsWordWrapEnabled.ToString()

    End Sub

When you enable the word wrapping, the horizontal scrollbar is collapsed:

However, when the word wrapping is disabled, the scrollbar doesn't reappear anymore:

Unplanned
Last Updated: 15 Dec 2020 08:05 by ADMIN