Board index » delphi » How can I mask a TEdit ?

How can I mask a TEdit ?

Hi,
I'm trying to mask a TEdit when an user input data like a date.
I don't have idea to do this like when some user press twice for day,
the separator appears / or - and next more 2 , separator, etc..
Thanks

 

Re:How can I mask a TEdit ?


trap the keypress and keydown methods

you need to override these methods

I have code for this
if anyone wants it send me an email
I do not want to post it here

Lawrence Thurman
thurm...@one.net

Quote
Mahavishnu wrote in message <356bf4c8.18476...@news.telepac.pt>...
>Hi,
>I'm trying to mask a TEdit when an user input data like a date.
>I don't have idea to do this like when some user press twice for day,
>the separator appears / or - and next more 2 , separator, etc..
>Thanks

Other Threads