Introduction
The M3M M3MTextBox
control specially designed as one most required control in windows application development where we take more times in validating entered data into normal .net textbox with if statements, with different techniques like coloring error, side icon or message box. Also this control uses regular expressions as validation test.
Sample Code
In the next code snap snap shows how we can use this control throug our code
<FONT size=2>
M3MTextBox1 = </FONT><FONT color=#0000ff size=2>New</FONT><FONT size=2> M3M_TextBox.M3MTextBox</FONT>
' this message text used when msg mode set to MsgBox mode
<FONT size=2>M3MTextBox1.ErrMessage = </FONT><FONT color=#800000 size=2>""
</FONT><FONT size=2>M3MTextBox1.ErrorMessage = M3M_TextBox.ErrMsgType.Icon
</FONT><FONT size=2>M3MTextBox1.InformBackColor = System.Drawing.Color.LightGray
</FONT><FONT size=2>M3MTextBox1.InformForeColor = System.Drawing.Color.Wheat
</FONT><FONT size=2>M3MTextBox1.Location = </FONT><FONT color=#0000ff size=2>New</FONT><FONT size=2> System.Drawing.Point(148, 64)
</FONT><FONT size=2>M3MTextBox1.Name = </FONT><FONT color=#800000 size=2>"M3MTextBox1"
</FONT><FONT size=2>M3MTextBox1.ReadyRegEx = M3M_TextBox.AvilableRegularExpression.Custom
</FONT><FONT size=2>M3MTextBox1.RequiredBackColor = System.Drawing.Color.Red
</FONT><FONT size=2>M3MTextBox1.RequiredForeColor = System.Drawing.Color.Yellow
</FONT><FONT size=2>M3MTextBox1.Size = </FONT><FONT color=#0000ff size=2>New</FONT><FONT size=2> System.Drawing.Size(126, 20)
</FONT><FONT size=2>M3MTextBox1.TabIndex = 0
also control trigger special event when error accrue Called ErrorRasied
in case if we want take special megerments when error happen in user entered data.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.