>In a textbox with controlsource=dbf.mydate and with set notify on if the input is wrong a 'invalid date' message appears in the right top corner of the screen: I want to show my message (in my language) in the center of the screen: I tryed with set message to CENTER to centre at least the message but it does not work… Any ideea? Thanx
Francesco,
First, SET NOTIFY OFF, which eliminates the 'invalid date' message. Then, in the VALID method trap for a bad date and write your own routine. VFP will still trap the bad date, and not allow the user out of the text box, but you will be able to insert your own message.