Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date in textbox
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00093234
Message ID:
00093296
Views:
29
>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.
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform