122
ImageSize property on 32 (specifies the size of control' icons)

public void init()
{
	str var_s;
	;

	super();

	exmaskedit1.ImageSize(32);
	var_s = "gBJJgBAIDAAEg4AEEKAD/hz/EMNh8TIRNGwAjEZAEXjAojKAjMLjABhkaABAk0plUrlktl0vmExmUzmk1m03nE5nU7nk9miAoE+oVDolFo1HpFJpU5h8Sf9OqFNqUOqN";
	var_s = var_s + "UqdPq9VrFWrlbr1QpdhAFAkFis1ntFptVrtkrpszrNvmVxqk3uVtm1kmF3sdBvF/wGBmV+j9BYGHwWJulfxdax2NyFdx2JlV6l9Nw7AAGZymdz2Cy2GxErvWcz9ivlwy";
	var_s = var_s + "V21cuxugwktzGIzmvwtl0+53U5y0a0Wazmmyu/3dCyOMyXHx/J5nIr9q3uyqnBxFN3G46ma4vb7mD2Ng4nZze00fDkHC7t7us2rOX5tguetpHRlmz4HVqnXk1PjHO+CM";
	var_s = var_s + "Po9MBMC+j2vC8j7wS8cFNI4kBo05UIvfCT/NsnsApU+0Fqg/T+oy/kPxC0sEQfErKQK96+w28UWRI8UGvO8sTLS9r2PWmsMJTDTask3CsIbIEQRA3shOXEEAO/GclJ9F";
	var_s = var_s + "EKrrA8FRbKMXRIlb0JxCkjS1LMswhCcvuel0cv26cSMa8Ufx+2sQwhEUoSXOCjSbLcnxjKc7sdKUVyq28NtVI71P9P7JxtQEapjQ6fzfM8zPfNE2PhIsLL63E40slk5y";
	var_s = var_s + "7N89LcyU9SvMb3SdUc6VJLj5VLVLfO/PS9KzNFHUa/0XyBD0dxlS9cxhMlTRSoNXypPErWDPyfNS+MwprRNO0FD8wVVZ1AI08URwVRjtJ1WCn21QkkUrXVLVPQS/XIkF";
	var_s = var_s + "gTxT9iONZ9xVTdq+L1eKg3kkF6Upe68XtfV51/MtrVjBlwYFL1ev8y1/P6/lyzzYl02wntj0RVFmS1Qa+M5as93QxEUW9e993rfmQ2+vy65M/mL1lhl/2bj2ByVduMtN";
	var_s = var_s + "hCJT9hdz41nN14Ld12Z9UjfI/oUAaGseiw6+uFLLhcVabJOS5RqOE0BHlZ5VnEr5fOMs3st+aa/bbRzrJGV51Y0b0DbqaWXZD90hIsPbjWu52+6Wyadpe66hhO+P/Xio";
	var_s = var_s + "W5rD8ZbrUZuVg6n1dsE/cXmewu1m9PVwnd35/nueXho/NaJzmjc61W76esuT77eG8pTquy9TwWH8LEzG8RDfFalx3Gcfvna9rvG/cptGLd9tuI6TZOP5Fiqi99vea+X4";
	var_s = var_s + "VRcBq/JZZtVQ9cwSs5lsXE372+a9z7PbfB3VVqHyvMctLto8uob6eV0m/cD6MN2v+T33t6sBut42vdv2bJ8a997x2maFJfK+qArbGJPEKE+1qTflMsIdW/GCJX17KcT6";
	var_s = var_s + "/czr/X+u1g29B7j/4BQfWkkx4zIHisjhPCmE0K4SwtXM+d4BvHRwNZOoBph9IJvPek9d40FoMJxf691jj2ywQQcHEWET4XJwkTszlVqm2GokewxtBT1DpQjRxDN0rUVD";
	var_s = var_s + "NKdC3lb6tzNOwh6upMSSYfv4YBCl/bsn9PxiFCEo7SI6Obc9HeOrnY8x4jtHtdpN4GRbaorhsbu18Pph5CiHymI0RpSXGJ/z2oUOxYxG858AyiI+bfJtuTcG5yelBJyT";
	var_s = var_s + "8okhqFd4a5yxL0rvulYtKCsZiWxWkc1s1cRoxxwhA31DLE0mR9l9HqX8fJgTDmFMVH0MIsRzVYnwnMi1dyzmhLt2kS2pxIiU62Wj5ptQGlSYFakLonTUJNLKaM5Wzlff";
	var_s = var_s + "EkuFkk5wTrhVO2eE7G6lJhxFFYUZ55zmn0WuBCD4pzhirFCKkbomsOoIYmZx5p90LoYWGPdD5g0QmJRKYxbZ6zYoVQ2jVGylSak7KSkFH6RSjpHKFuU+YMyNo5SulkC6";
	var_s = var_s + "I0vonTCitMXPoEpVS2H5FQfEqp2R1opIgAEkJISYARTCukOhmPNI5Ex/wzGHUsicMwA1LHgQ90Y/KpoQHAD+pB/R4NzIaMAB9Xaw1gqaAOsh/A/ptIkWUfhGK1kZH8Rg";
	var_s = var_s + "H5GqvgArqRmt4AAPrTroRofBGADkqr6Rmu4D7CEaHARiwpJrEEZsXXwlVjyMWRsaRqwdkLGNBABZmytmyMnaINZqyVpLR2ftKAAAdd6h2osbaskdiq4EZtgSmyNcbVWR";
	var_s = var_s + "JNXe3AA7REar3b0stlAAXBtoRmvJGLjEYAHUWsFcwCD/rnaop9aEICMAPdK5hT6xpeuzdOtAgKuJeGfdq6ggEbkTvAP+p9UCHXrvKkcgIA==";
	exmaskedit1.Images(COMVariant::createFromStr(var_s));
	exmaskedit1.Warning("<img>1</img> <font ;16>Invalid character");
	exmaskedit1.Mask("`Time: ` 00:00:00");
}
121
ImageSize property on 16 (specifies the size of control' icons)

public void init()
{
	str var_s;
	;

	super();

	exmaskedit1.ImageSize(16);
	var_s = "gBJJgBAIDAAEg4ACEKAD/hz/EMNh8TIRNGwAjEZAEXjAojJAjMLjABAAgjUYkUnlUrlktl0vmExmUzmk1m03nE5nU7nkrQCAntBoVDolFo1HoM/ADAplLptImdMYFOqd";
	var_s = var_s + "SqlXq1QrVbrlGpVWsFNrNdnNjsk7pQAtNroFnt0sh8Yr9iulTuNxs1Eu8OiT/vsnsNVutXlk/oGGtVKxGLxWNtsZtN8iUYuNvy0Zvd+xNYwdwvl4p870GCqc8vOeuVtt";
	var_s = var_s + "mp1knyOayWVy+WzN/ze1wOElenm+12WUz/Bv2/3UyyWrzeutux2GSyGP2dQ33C1ur3GD3M4zUNzHdlWjq/E3nGzVpjWv4HA7fRy/Tv2IrN8rPW6nZ3ve7mUlfu20Z8ac";
	var_s = var_s + "vQyb+vY9jasYoDwMm+LytVBDqKG3z8O3Cb8P+mkAuY9cCQ2uL4KaxDKvkp8RNLEjqugnrwQo/UWPzFyeQw5sNLZFENrI4kOqU66pw8uzmOKvTqNqjULJvGL1JO48GtTG";
	var_s = var_s + "sbLdEL3scxLlyiw8dQeoUVxdLTtyKmUjwGlslRPJsnK1HbAKbKCrsQo8uQk/CeP44iaR/ATnTNPLvyxPU+z9P9AUDQVBowiofJXQ6Oo+kKMpIkjztE4TKn4P6JowfgPn";
	var_s = var_s + "wD5/nAjB8AOeAPo0eAA1IAFH07UhAIMpYAVIYFHqBUhwVjV1S1EtQAHxW65V0AZwAeuQAnwB5gAPYViEDVhwAHTQBkCjB4gOhwDmCyhH0sACAg==";
	exmaskedit1.Images(COMVariant::createFromStr(var_s));
	exmaskedit1.Warning("<img>1</img> Invalid character");
	exmaskedit1.Mask("`Time: ` 00:00:00");
}
120
Is it possible to add leading-zero for masking floating points

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("-###,###,##0.00;;;float");
	exmaskedit1.Text("1234");
}
119
How can I show the full mask if the field is empty and gets the focus

public void init()
{
	;

	super();

	exmaskedit1.Mask("!(999) 000 0000;;;warning=Invalid character!,select=4,overtype");
	exmaskedit1.AllowEmptyValue(1/*exAllowEmptyValueShowMask*/);
	exmaskedit1.Text("");
}
118
How can I mask a date (keep leading zeroes always visible) (method 4)

public void init()
{
	;

	super();

	exmaskedit1.Mask("!00/00/0000;;0;empty,validateas=1,invalid=Invalid date!,warning=Invalid character!,select=4,overtype");
	exmaskedit1.Text(str2Date("1/2/2001",213));
}
117
How can I mask a date (keep leading zeroes always visible) (method 3)

public void init()
{
	;

	super();

	exmaskedit1.Mask("!00/00/0000;;0;select=4,empty,overtype");
	exmaskedit1.Text(str2Date("1/2/2001",213));
	exmaskedit1.Warning("Invalid character!");
	exmaskedit1.Invalid("Invalid date!");
	exmaskedit1.ValidateAs(1/*exValidateAsDate*/);
}
116
How can I mask a date (method 2)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(4/*exSelectRequiredEditableGotFocus*/);
	exmaskedit1.Mask("!99/99/9999;; ;select=4,overtype");
	exmaskedit1.Text(str2Date("1/2/2001",213));
	exmaskedit1.Warning("Invalid character!");
	exmaskedit1.Invalid("Invalid date!");
	exmaskedit1.ValidateAs(1/*exValidateAsDate*/);
	exmaskedit1.AllowEmptyValue(true);
}
115
How can I make the field to support empty values (method 2)

public void init()
{
	;

	super();

	exmaskedit1.Mask("!(999) 000 0000;;;empty,select=4,overtype,invalid=invalid phone number,beep");
}
114
How can I make the field to support empty values (method 1)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.AllowEmptyValue(true);
	exmaskedit1.Mask("!(999) 000 0000");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
}
113
How do I get the value with no double quoted strings

// Change event - Fired while the user changes the control's text.
void onEvent_Change()
{
	;
	print( exmaskedit1.Value(COMVariant::createFromInt(3)) );
}

public void init()
{
	;

	super();

	exmaskedit1.Mask("`IP address is `{0,255}\\.{0,255}\\.{0,255}\\.{0,255}");
	exmaskedit1.MaskChar(48);
	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Text("1.2.3.4");
}
112
How can I mask a RGB color

public void init()
{
	;

	super();

	exmaskedit1.Mask("`RGB(`{0,255},{0,255},{0,255}`)`");
	exmaskedit1.MaskChar(48);
	exmaskedit1.Text("RGB(255,0,0)");
}
111
I noticed that an empty field is validated. Can this be changed

// ValidateValue event - Validates the field's value, once the user leaves the field.
void onEvent_ValidateValue(COMVariant   _NewValue,COMVariant /*bool*/   _Cancel)
{
	;
	_Cancel = true;
}

public void init()
{
	;

	super();

	exmaskedit1.Invalid("The value you entered isn't appropriate for the input mask <b>'<%mask%>'</b> specified for this field.");
	exmaskedit1.Mask("!(999) 000-0000");
	exmaskedit1.SelectGotFocus(4/*exSelectRequiredEditableGotFocus*/);
	exmaskedit1.InsertMode(1/*exEditOvertypeMode*/);
}
110
How can I play a beep when the user enters inappropriate value for the field, instead displaying the tooltip

public void init()
{
	;

	super();

	exmaskedit1.Invalid(" ");
	exmaskedit1.Mask("!(999) 000-0000");
	exmaskedit1.SelectGotFocus(4/*exSelectRequiredEditableGotFocus*/);
	exmaskedit1.InsertMode(1/*exEditOvertypeMode*/);
	exmaskedit1.Text("123-4567");
	exmaskedit1.AllowBeep(true);
}
109
How can I restrict the data input until the user enters appropiate value (method 2)

public void init()
{
	;

	super();

	exmaskedit1.Invalid("The value you entered isn't appropriate for the input mask <b>'<%mask%>'</b> specified for this field.");
	exmaskedit1.Mask("!(999) 000-0000");
	exmaskedit1.SelectGotFocus(4/*exSelectRequiredEditableGotFocus*/);
	exmaskedit1.InsertMode(1/*exEditOvertypeMode*/);
	exmaskedit1.Text("123-4567");
}
108
How can I restrict the data input until the user enters appropiate value (method 1)

public void init()
{
	str var_s;
	;

	super();

	var_s = "!(999) 000-0000;;;invalid=The value you entered isn't appropriate for the input mask <b>'<%mask%>'</b> specified for this field.";
	exmaskedit1.Mask(var_s);
	exmaskedit1.SelectGotFocus(4/*exSelectRequiredEditableGotFocus*/);
	exmaskedit1.InsertMode(1/*exEditOvertypeMode*/);
	exmaskedit1.Text("123-4567");
}
107
How do I set the control's field from right to left

public void init()
{
	;

	super();

	exmaskedit1.Mask("`Phone: `!(999) 000 0000");
	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Text("8450287");
}
106
How can I specify multiple masks

public void init()
{
	str var_s;
	;

	super();

	exmaskedit1.InsertMode(1/*exEditOvertypeMode*/);
	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.VisibleMasks(6);
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	var_s = "Local;!000-0000|Domestic;!(999) 000-0000|International;!`+1` 999-000-0000|Dialed in the US;!`1` 999-000-0000|Dialed from Germany";
	var_s = var_s + ";!`001` 999-000-0000|Dialed from France;!`191` 999-000-0000";
	exmaskedit1.Masks(var_s);
	exmaskedit1.Text("845 0287");
	exmaskedit1.ActiveMask(1);
}
105
How can I mask a date (method 1, limit date)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("{1,12}/{1,31}/{1950,2015}");
	exmaskedit1.Text(str2Date("1/2/2001",213));
	exmaskedit1.Warning("Invalid character!");
	exmaskedit1.Invalid("Invalid date!");
	exmaskedit1.ValidateAs(1/*exValidateAsDate*/);
}
104
How can I mask a medium time (method 3)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("99:00;;0;overtype");
	exmaskedit1.Text("01:22");
	exmaskedit1.Warning("Invalid character");
}
103
How can I mask a medium time (method 2)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("{1,12}:{0,59} »[aApP]M");
	exmaskedit1.Text("11:22 AM");
	exmaskedit1.Warning("Invalid character");
}
102
How can I mask a medium time (method 1)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("99:00 »[aApP]M");
	exmaskedit1.Text(" 1:22 PM");
	exmaskedit1.Warning("Invalid character");
}
101
How can I mask a short time (method 2)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("00:00;;0;overtype");
	exmaskedit1.Text("01:22");
	exmaskedit1.Warning("Invalid character");
}
100
How can I mask a short time (method 1)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("00:00");
	exmaskedit1.Text("01:22");
	exmaskedit1.Warning("Invalid character");
}
99
How can I mask a long time (method 3)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("99:00:00;;0;overtype");
	exmaskedit1.Text("01:22:00");
	exmaskedit1.Warning("Invalid character");
}
98
How can I mask a long time (method 2)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("{1,12}:{0,59}:{0,59} »[aApP]M");
	exmaskedit1.Text("11:22:34 AM");
	exmaskedit1.Warning("Invalid character");
}
97
How can I mask a long time (method 1)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("99:00:00 »[aApP]M");
	exmaskedit1.Text(" 1:22:00 PM");
	exmaskedit1.Warning("Invalid character");
}
96
How can I mask a password

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask(";;;password");
	exmaskedit1.Text("12");
	exmaskedit1.Warning("Invalid character");
}
95
How can I mask an extension

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("99999");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("12");
	exmaskedit1.Warning("Invalid character");
}
94
How can I mask a zip code

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("00000-9999");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("12");
	exmaskedit1.Warning("Invalid character");
}
93
How can I mask a social security number

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("000-00-0000");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("12");
	exmaskedit1.Warning("Invalid character");
}
92
How can I mask a phone number

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("!(999) 000 0000");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("8450287");
	exmaskedit1.Warning("Invalid character");
}
91
How can I mask a binary number (method 2)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("[01][01][01][01][01][01][01][01];;0;overtype");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("001");
	exmaskedit1.Warning("Invalid character");
}
90
How can I mask a binary number (method 1)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("[01][01][01][01][01][01][01][01]");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("001");
	exmaskedit1.Warning("Invalid character");
}
89
How can I mask a hexa number (method 2)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("»[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F];;0;overtype");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("00f");
	exmaskedit1.Warning("Invalid character");
}
88
How can I mask a hexa number (method 1)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("»[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("00f");
	exmaskedit1.Warning("Invalid character");
}
87
How do I mask an integer number

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask(";;;float,grouping=,digits=0");
	exmaskedit1.Text(12345.67);
}
86
How do I mask a decimal point number, including grouping of digits

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask(";;;float");
	exmaskedit1.Text(12345.67);
}
85
How can I mask an email address

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("`e-mail: `*@*.*");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("mfl@ex");
}
84
How can I mask an URL address

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("`http://`*.*.*");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("www.");
}
83
How can I mask an IP addresse

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("{0,255}.{0,255}.{0,255}.{0,255}");
	exmaskedit1.Text("12.2");
}
82
How can I mask a license key

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Mask("AAAA-AAAA-AAAA-AAAA");
	exmaskedit1.Text("12A");
}
81
How can I specify the accepted characters only, converted to lowercase

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`1,2,3,4,a,A,b,B or c,C(->lowercase): `«[1-4aAbBcC][1-4aAbBcC][1-4aAbBcC][1-4aAbBcC]");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("WAa");
	exmaskedit1.Warning("Invalid character");
}
80
How can I specify the accepted characters only, converted to uppercase

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`1,2,3,4,a,A,b,B or c,C(->uppercase): `»[1-4aAbBcC][1-4aAbBcC][1-4aAbBcC][1-4aAbBcC]");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("WAa");
	exmaskedit1.Warning("Invalid character");
}
79
How can I specify the accepted characters only

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`1,2,3,4,a,b or c: `[1-4abc][1-4abc][1-4abc][1-4abc]");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("WAa");
	exmaskedit1.Warning("Invalid character");
}
78
How can I input a number with lower and upper margins

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`number between 1950 and 2050: `{1950,2050}");
	exmaskedit1.Warning("Invalid character");
}
77
How can I mask an url

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`any: `http://*.*.*");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("www.exontrol.com");
	exmaskedit1.Warning("Invalid character");
}
76
How can I enter any characters combinations, converted to lowercase

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`any: `«*");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("Aa");
	exmaskedit1.Warning("Invalid character");
}
75
How can I enter any characters combinations, converted to uppercase

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`any: `»*");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("Aa");
	exmaskedit1.Warning("Invalid character");
}
74
How can I enter any characters combinations

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`any: `*");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("Aa");
	exmaskedit1.Warning("Invalid character");
}
73
How can I enter any letter, converted to lowercase (entry required) (method 2)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`letter(->lowercase): `«[a-zA-Z][a-zA-Z][a-zA-Z][a-zA-Z]");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("Aa");
	exmaskedit1.Warning("Invalid character");
}
72
How can I enter any letter, converted to lowercase (entry required) (method 1)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`letter(->lowercase): `<<<<");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("Aa");
	exmaskedit1.Warning("Invalid character");
}
71
How can I enter any letter, converted to uppercase (entry required) (method 2)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`letter(->uppercase): `»[a-zA-Z][a-zA-Z][a-zA-Z][a-zA-Z]");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("Aa");
	exmaskedit1.Warning("Invalid character");
}
70
How can I enter any letter, converted to uppercase (entry required) (method 1)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`letter(->uppercase): `>>>>");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("Aa");
	exmaskedit1.Warning("Invalid character");
}
69
How can I enter any character or a space (entry optional)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`character,space,optional: `CCCC");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("Aa");
}
68
How can I enter any character or a space (entry required)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`character,space: `&&&&");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("Aa");
}
67
How can I enter any letter or space (entry optional)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`letter,space,optional: `????");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("Aa");
	exmaskedit1.Warning("Invalid character");
}
66
Is it possible to display the field with no masking or placeholders, when it has no focus

public void init()
{
	;

	super();

	exmaskedit1.TextIncludeLiteralsLoseFocus(1/*exClipModeLiteralsInclude*/);
	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`Phone: `!(999) 000-0000");
}
65
I have the mask starting with literals, is it possible to assign the text on editable part only, when calling the Text property

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`Upper Hexa [0-9a-fA-F]: `»[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("09af");
	exmaskedit1.Warning("Invalid character");
}
64
How can I enter a proper name, so the first letter to be upper, rest lower, and so on

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`letter(->uppercase),any,space,letter(->uppercase),any: `»L««*» »L««*");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("mihai filimon");
	exmaskedit1.Warning("Invalid character");
}
63
How can I enter the first letter converted to upercase, and anything else after as typed (proper)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`letter(->uppercase),any: `»L«*");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("aFILe");
	exmaskedit1.Warning("Invalid character");
}
62
How can I enter the first letter converted to upercase, and anything else after in lowercase (proper)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`letter(->uppercase),any: `»L««*");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("aFILe");
	exmaskedit1.Warning("Invalid character");
}
61
How can I enter any letter (entry require)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`letter: `LLLL");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("Aa");
	exmaskedit1.Warning("Invalid character");
}
60
How can I enter any letter, digit, converted to lowercase (entry required)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`letter(->lowercase),digit: `«AAAA");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("AA");
	exmaskedit1.Warning("Invalid character");
}
59
How can I enter any letter, digit, converted to uppercase (entry required)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`letter(->uppercase),digit: `»AAAA");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("aa");
	exmaskedit1.Warning("Invalid character");
}
58
How can I enter any letter, digit (entry required)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`letter,digit: `AAAA");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("Aa");
	exmaskedit1.Warning("Invalid character");
}
57
How can I enter a hexa character, converted to lower, [0-9a-fA-F] ( entry required )

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`Lower Hexa [0-9a-fA-F]: `«[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("FF");
	exmaskedit1.Warning("Invalid character");
}
56
How can I enter a hexa character, converted to upper, [0-9a-fA-F] ( entry required )

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`Upper Hexa [0-9a-fA-F]: `»[0-9a-fA-F][0-9a-fA-F][0-9a-fA-F][0-9a-fA-F]");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("ff");
	exmaskedit1.Warning("Invalid character");
}
55
How can I enter an upper case hexa character, [0-9],[A-F] ( entry required )

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`Hexa [0-9],[A-F]: `XXXX");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("12");
	exmaskedit1.Warning("Invalid character");
}
54
How can I enter a lower case hexa character, [0-9],[a-f] ( entry required )

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`Hexa [0-9],[a-f]: `xxxx");
	exmaskedit1.TextIncludeLiterals(2/*exClipModeLiteralsExclude*/);
	exmaskedit1.Text("12");
	exmaskedit1.Warning("Invalid character");
}
53
How can I enter a digit or space (entry not required; plus and minus signs not allowed)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`digit,space,optional: `9999");
	exmaskedit1.Text("12");
	exmaskedit1.Warning("Invalid character");
}
52
How can I enter a digit (0 through 9, entry required; plus [+] and minus [-] signs not allowed)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`digit: `0000");
	exmaskedit1.Text("12");
	exmaskedit1.Warning("Invalid character");
}
51
How can I enter a digit, +, - or space (entry not required)

public void init()
{
	;

	super();

	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Mask("`digit,+,-,space,optional: `####");
	exmaskedit1.Text("12");
	exmaskedit1.Warning("Invalid character");
}
50
How can I add more literals at once (method 2)

public void init()
{
	;

	super();

	exmaskedit1.Mask("\"This text is included between \\\"\\\" characters: \" 00:00:00");
}
49
How can I add more literals at once (method 1)

public void init()
{
	;

	super();

	exmaskedit1.Mask("`This text is included between \\`\\` characters: ` 00:00:00");
}
48
Is it possible to change the control's border, using your EBN objects

public void init()
{
	;

	super();

	exmaskedit1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exmaskedit1.Appearance(16777216);
	exmaskedit1.Warning("Invalid character");
	exmaskedit1.Mask("`Time: ` 00:00:00");
}
47
How can I get the value as it is displayed

// Change event - Fired while the user changes the control's text.
void onEvent_Change()
{
	;
	print( exmaskedit1.Text() );
}

public void init()
{
	;

	super();

	exmaskedit1.Mask("00:00:00;;;overtype");
	exmaskedit1.Text("12");
}
46
How can I get the just typed and accepted characters from the field
// Change event - Fired while the user changes the control's text.
void onEvent_Change()
{
	;
	print( exmaskedit1.Value(COMVariant::createFromInt(2)) );
}

public void init()
{
	;

	super();

	exmaskedit1.Mask("00:00:00;;;overtype");
	exmaskedit1.Text("12");
}
45
How can I get the value with no masking or placeholder character
// Change event - Fired while the user changes the control's text.
void onEvent_Change()
{
	;
	print( exmaskedit1.Value(COMVariant::createFromInt(1)) );
}

public void init()
{
	;

	super();

	exmaskedit1.Mask("00:00:00;;;overtype");
	exmaskedit1.Text("12");
}
44
How can I change the masking or placeholder character (method 2)

public void init()
{
	;

	super();

	exmaskedit1.Mask("`Time: `00:00;;0;overtype");
}
43
How can I change the masking or placeholder character (method 1)

public void init()
{
	;

	super();

	exmaskedit1.Mask("`Time: `00:00");
	exmaskedit1.MaskChar(48);
	exmaskedit1.InsertMode(1/*exEditOvertypeMode*/);
}
42
Can I use your overtype mode in a multi-line control

public void init()
{
	;

	super();

	exmaskedit1.Text("text");
	exmaskedit1.MultiLine(true);
	exmaskedit1.InsertMode(1/*exEditOvertypeMode*/);
}
41
Is it possible to show the control's content with a different color, while the control's content is not valid

public void init()
{
	;

	super();

	exmaskedit1.Mask("`Phone: `!(999) 000 0000");
	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Text("8450287");
	exmaskedit1.ForeColorRich(WinApi::RGB2int(255,0,0));
	exmaskedit1.Type(1/*exTypeRichEdit*/);
}
40
How can I select the empty and editable entity, when the control got the focus (method 1)

public void init()
{
	;

	super();

	exmaskedit1.Mask("`Date: `{1,12}/{1,31}/{1950,2050}");
	exmaskedit1.SelectGotFocus(2/*exSelectEditableGotFocus*/);
	exmaskedit1.Text("1/1/");
}
39
How can I select the empty and editable entity, when the control got the focus (method 1)

public void init()
{
	;

	super();

	exmaskedit1.Mask("`Date: `{1,12}/{1,31}/{1950,2050};;;select=2");
	exmaskedit1.Text("1/1/");
}
38
How can I select the entire text, when the control got the focus (method 2)

public void init()
{
	;

	super();

	exmaskedit1.Mask("`Date: `{1,12}/{1,31}/{1950,2050};;;select=1");
	exmaskedit1.Text(str2Date("1/1/2001",213));
}
37
How can I select the entire text, when the control got the focus (method 1)

public void init()
{
	;

	super();

	exmaskedit1.Mask("`Date: `{1,12}/{1,31}/{1950,2050}");
	exmaskedit1.SelectGotFocus(1/*exSelectAllGotFocus*/);
	exmaskedit1.Text(str2Date("1/1/2001",213));
}
36
Does your control support subscript or superscript, in HTML tooltips

public void init()
{
	;

	super();

	exmaskedit1.Warning("<sha ;;0>Invalid <b><font ;6><off -6>2<off 4>3<off 4>1 character");
	exmaskedit1.Mask("`Time: ` 00:00:00");
}
35
How can I change the font on the control's tooltip

public void init()
{
	;

	super();

	exmaskedit1.Warning("<font ;14>Invalid character");
	exmaskedit1.Mask("`Time: ` 00:00:00");
}
34
How can I display any picture on the field's tooltip

public void init()
{
	;

	super();

	exmaskedit1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
	exmaskedit1.Warning("<img>pic1</img> Invalid character");
	exmaskedit1.Mask("`Time: ` 00:00:00");
}
33
How can I display any icon on the field's tooltip

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exmaskedit1.Images(COMVariant::createFromStr(var_s));
	exmaskedit1.Warning("<img>1</img> Invalid character");
	exmaskedit1.Mask("`Time: ` 00:00:00");
}
32
How can I change the visual appearance of the tooltip shown when user pressed an invalid character (Method 2)

public void init()
{
	;

	super();

	exmaskedit1.Background(65/*exToolTipBackColor*/,WinApi::RGB2int(0,0,255));
	exmaskedit1.Background(66/*exToolTipForeColor*/,WinApi::RGB2int(255,255,0));
	exmaskedit1.Warning("Invalid character");
	exmaskedit1.Mask("`Time: ` 00:00:00");
}
31
How can I change the visual appearance of the tooltip shown when user pressed an invalid character (Method 1)

public void init()
{
	;

	super();

	exmaskedit1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exmaskedit1.Background(64/*exToolTipAppearance*/,0x1000000);
	exmaskedit1.Warning("Invalid character");
	exmaskedit1.Mask("`Time: ` 00:00:00");
}
30
Is it possible to show a message when the user enters an invalid character ( method 2 )

public void init()
{
	;

	super();

	exmaskedit1.Mask("`Time: ` 00:00:00;;;warning=Invalid character");
}
29
Is it possible to show a message when the user enters an invalid character ( method 1 )

public void init()
{
	;

	super();

	exmaskedit1.Warning("Invalid character");
	exmaskedit1.Mask("`Time: ` 00:00:00");
}
28
Is it possible to play a beep/sound when user enters an invalid character ( method 2 )
public void init()
{
	;

	super();

	exmaskedit1.Mask("`Time: ` 00:00:00;;;beep");
}
27
Is it possible to play a beep/sound when user enters an invalid character ( method 1 )
public void init()
{
	;

	super();

	exmaskedit1.AllowBeep(true);
	exmaskedit1.Mask("`Time: ` 00:00:00");
}
26
How can I prevent showing the field's content menu when the user right clicks the control ( method 2 )
public void init()
{
	;

	super();

	exmaskedit1.Mask(";;;nocontext");
	exmaskedit1.Text("text");
}
25
How can I prevent showing the field's content menu when the user right clicks the control ( method 1 )
public void init()
{
	;

	super();

	exmaskedit1.AllowContextMenu(false);
	exmaskedit1.Text("text");
}
24
Is it possible to let user choose the inserting mode, when he presses Insert key ( method 2.2 )
public void init()
{
	;

	super();

	exmaskedit1.Mask("00:00;;;inserttype,overtype");
	exmaskedit1.Text("12:3");
}
23
Is it possible to let user choose the inserting mode, when he presses Insert key ( method 2.1 )
public void init()
{
	;

	super();

	exmaskedit1.Mask("00:00;;;overtype,inserttype");
	exmaskedit1.Text("12:3");
}