Kushal Tutorials - Document

Date

ERachana Date Control is an enhanced TextBox Control specifically designed to accept a date. Users can type just {15 4 12} to set the date - {15th of April 2012}.



Properties:

Association

AssociatedColumn

Column name associated with the Database Table Field

AssociatedTable

Table name associated with the Database Table

Design

Alignment

Gets or 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

Indicates whether the field can be saved with null input when the user enters data and saves the record

BackColor

The background color of the Control (Inherited from Control)

Enabled

A value indicating whether the Control can respond to user interaction

Font

The Font Style property of the text displayed in the Control

Name

Sets the font face name

Size

Sets the size of this Font measured in the units specified by the Unit property

Unit

Sets the unit of measure

Bold

Sets a value that indicates whether this Font is bold.

GdiCharSet

Sets a byte value that specifies the GDI character set

GdiVerticalFont

Sets a Boolean value that indicates whether this Font is derived from a GDI vertical font.

Italic

Sets a value that indicates whether this font has the italic style applied.

Strikeout

Sets a value that indicates whether this Font specifies a horizontal line

Underline

Sets a value that indicates whether this Font is underlined.

ForeColor

The foreground (Font color) color of the Control

IsKeyField

Gets or Sets a Boolean value (True, False). Additionally, checks if an associated field is a primary key

SelectAllOnFocus

Gets or Sets the text selected in the text box

TabIndex

The Tab order of the text box

Visible

A value indicating whether the Control should be displayed or not

Display

Default Value

The text associated with this Control. When the form is loaded, the text box gets set with a default value

Name

The name of the 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

InputControlType

Changes the Control type to Textbox, Drop Down and Numeric Textbox etc.

Size

Height

Height of the Control in pixels

Width

Width of the Control in pixels

Validation

DoValidation

Gets or Sets a value indicating whether the value entered by the user will be checked before saving the Form or not

MaxValue

Gets or Sets a Maximum Range of the Value if DoValidation is true

MinValue

Gets or Sets a Minimum Range of the Value if DoValidation is true

ValidationMessage

Display Message when validation is failed