>Terry,
>
>Why the lostfocus (instead of valid)?
Valid would do. With lostfocus, you'd have to manage downstream textbox access (focus) with a when event.
>
>>>I have an object with a format of 'KD' and would like to be to check for a valid date before VFP 7 displays its 'invalid date' in a wait window.
>>>The reason is that I would like to generate all validation type messages in our own formatted message box.
>>>Since the user is going to define the format of the date in the application's preferences, the date could be in one of several different format.
>>>What is the easiest way to accomplish this task?
>>Not to use a "D"ate mask. Make it just a text box and do the validation, based on user's preference at lostfocus.
>>
>>>TIA.
Imagination is more important than knowledge