# TextBox

Inherits Control

This class implements a single line text edit control.

This class is creatable.

`DIM hTextBox AS TextBox hTextBox = NEW TextBox ( Parent AS Container )`

Creates a new textbox.

Properties |  | Methods |  | Events |
--- | --- | --- | --- | --- | ---

Alignment BackColor Background Border Cursor Design Drop Enabled Expand Font ForeColor Foreground H Handle Height Id Left Length MaxLength Mouse Next Parent Password Pos Previous ReadOnly ScreenX ScreenY Select Selection Tag Text ToolTip Top Visible W Width Window X Y

Clear Delete Drag Grab Hide Insert Lower Move Raise Refresh Resize SetFocus Show

Activate Change DblClick Drag DragMove Drop Enter GotFocus KeyPress KeyRelease Leave LostFocus Menu MouseDown MouseMove MouseUp MouseWheel