Tuesday, May 19, 2020

Horizontal Scrolling for Code

Horizontal scrolling can be obtained by using a tag as follows using style="overflow: auto;"

        Dim connStr As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:\CIM_CourseDevelopment\BillOfMaterial.accdb; Persist Security Info=False"

When the line is shorter, the scroll bar disappears

        Dim connStr As String = "Hello"

No comments:

Post a Comment

C# Creating a Picture at Runtime in a windows form app

Add a PictureBox to the form. It will be called PictureBox1 See post:  https://docs.microsoft.com/en-us/dotnet/desktop/winforms/advanced/how...