i am trying to enter valid date in maskedit text box. for that i write following code:
maskedit1.format = "dd-mm-yyyy"
maskedit1.mask = "##-##-####"
when i enter date like 12-15-1999 in that maskeditbox, instead of giving error it changes to 15-12-1999 automatically. so how can i prevent user to enter invalid date. means how can i check validity of date. i think you understand my problem...
so please give some information with code if possible.