Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Invalid dates
Message
From
26/03/1998 03:40:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
26/03/1998 00:10:12
Christopher Holtz
Integral Computer Services, Inc.
Rochester, New York, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00087202
Message ID:
00087221
Views:
26
>Hi there,
>
>I found out today that textboxes with invalid dates
>provide no feedback to the user. In fact, the computer
>appeared to be frozen (in terms of mouse navigation
>through form objects).
>
>So I thought I'd capture the situation in the valid
>event - no go. Lost focus? - no luck.
>
>Finally, I was able to capture the invalid date and
>provide meaningful feedback to the user via the
>Set ReadError command.
>
>Does anyone know of a solution that fits into the object
>event loop, instead of commands supported simply for
>backward-compatibility?
>
>Thank you,
>Chris Holtz
Invalid dates popup a message as "invalid date" if notify is on otherwise control keep the focus. No need for validation in valid event nor lostfocus (provided bound to date or datetime data type). It must be something else hanging the app. You don't need "on readerror" at all and it maybe dangerous to use.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform