For this tutorial we need MaskEdit component(Additional Tab)
click in editmask proporty(object inspector)
input mask editor window show up
Create your mask in the first editor. We create a serial key mask.
We want the first three digits to be only numbers , the next five digits to be both letters and numbers and the last two only numbers.
We want the first three digits to be only numbers , the next five digits to be both letters and numbers and the last two only numbers.
Lets test our program
If we try to type letters in the first three dashes or in last two we cant make it our program seems to work fine.if we want we can create in our favorite text editor a text like this:
and save it with .dem ending and use it anytime we want by clicking Masks button in input mask editor window.
Thats all for now..
click in editmask proporty(object inspector)
input mask editor window show up
Create your mask in the first editor. We create a serial key mask.
We want the first three digits to be only numbers , the next five digits to be both letters and numbers and the last two only numbers.
We want the first three digits to be only numbers , the next five digits to be both letters and numbers and the last two only numbers.
Lets test our program
and save it with .dem ending and use it anytime we want by clicking Masks button in input mask editor window.
Thats all for now..
Parabéns!
ReplyDeleteComo válido solo letras
ReplyDelete