Technology computers-hardware

How to Change Fonts in the Visual Basic Input Box

    • 1). Open the Visual Basic application with the input box that you wish to change the font for.

    • 2). Create a new text box control by typing the following Visual Basic code:

      Dim newTextBox As TextBox()

      Press "Enter."

    • 3). Change the font by entering the code for the font you prefer; as a couple examples:

      newTextbox.Font = "Times New Roman" or newTextbox.Font = "Georgia"

      Press "Enter."



Leave a reply