devxlogo

September 8, 2003

Don

Have you ever tried to change the BorderStyle, HideSelection, MultiLine, ScrollBars, WordWrap and TextAlign properties of a TextBox, or the ComboBox

InputBox – A .NET replacement for this VB6 function

‘ Create an InputBox like the one of VB6. You can define the dialog’s title,’ question and default value.’ Example: MessageBox.Show(InputDialog.InputBox(“Type your name:”, “Test”,’ “Marco”))Public Class InputDialog Inherits System.Windows.Forms.Form#Region “