Link to home
Create AccountLog in
Avatar of lisa_mc
lisa_mcFlag for United Kingdom of Great Britain and Northern Ireland

asked on

using mask edit for date entry

I am using c++ builder 6.0

I would like to enter a date in the format dd/mm/yy

At the mo I know how to use a mask edit control so that the user has to enter a date in the above format.

I have noticed that the mask edit control will allow you to enter up to 99 for the dd section and same for mm and yy part.  Is there any way of writing that the day cannot be greater than 31 or month cannot be greater than 12

Any help much appreciated
ASKER CERTIFIED SOLUTION
Avatar of itsmeandnobodyelse
itsmeandnobodyelse
Flag of Germany image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account