Reputation: 182
I have a TextEdit which hase a Mask.
MaskType = Regular
Edit mask: \d?\d?\d?\d?\d?
What i need is, that the input will be from right to left.
For example ('0' is the placeholder):
00000
00001
00012
00123
.....
until the max length is reached.
Any suggestions?
Upvotes: 0
Views: 627
Reputation: 6621
Use MaskType.Numeric
and "00000"
for edit mask:
textEdit1.Properties.Mask.EditMask = "00000";
textEdit1.Properties.Mask.MaskType = MaskType.Numeric;
Upvotes: 3