Loading GST Billing Software
header image

Kushal Help : Masked TextBox Control in Kushal

Erachana Line

Masked TextBox

A Masked TextBox control provides validation mechanism for user input on a Form. In addition to basic properties of the TextBox Control, this Control has some special properties added in Kushal. For instance, if you want a TextBox to accept Telephone number in(999)999-9999 format, you can set masking in the Masked TextBox. This Control helps you add a masked text to distinguish between proper and improper user input.



Properties:

Association

AssociatedColumn

Associated with Database Table Field

AssociatedTable

Associated with the Database Table

Design

Alignment

Sets how text is aligned in a TextBox Control

AllowDuplicates

Gets or Sets a Boolean value (True, False), additionally, disallows the current value if the entry already exists in the database.

AllowNull

Gets or Sets a value indicating whether the null input has to be allowed or not.

AsciiOnly

Gets or Sets a value indicating whether the Masked TextBox Control accepts characters outside of the ASCII character set.

BackColor

The background color of the Control

Enabled

A value indicating whether the Control can respond to user interaction

Font

The Font Style properties of the text displayed by the Control

ForeColor

The foreground (Font color) color of the Control

FriendlyName

Gets or Sets a value indicating an alias name to the Control.

InputControlType

Changes the Control type to TextBox, Drop Down , Numeric TextBox etc

IsKeyField

Sets the Boolean values to True or False

Mask

Gets or Sets the input mask to use at runtime.

PasswordChar

The character used to mask characters of a password in a single-line TextBox Control

PromptChar

Gets or Sets the character used to represent the absence of user input in MaskedTextBox.

ReadOnly

Gets or Sets a value indicating whether the contents of the TextBox Control can be changed

TabIndex

The tab order of TextBox

Visible

A value indicating whether the Control is to display or not

Display

Name

The name of the Control

Text

The text associated with this Control

ToolTip

A small pop-up window that displays some information when you hover mouse on a Control

Location

Left

The distance, in pixels, between the left edge of the Label and the left edge of the Container

Top

The distance, in pixels, between the top edge of the Label and the top edge of the Container

Misc

DataType

Set the data type of the Database Table Field

Size

Height

Height of the TextBox in pixels

Width

Width of the TextBox in pixels