Folks,

I'm looking for some ideas on this...I haven't had the time to fully
analyze it and I thought I would ask the hive minds for suggestions.

I'm working for a client that's having problems with their date fields.
Piece of cake, I thought.

The two date fields on this form are straight textboxes, no subclassing
whatsoever. There's a little bit of code in the Refresh method of these
but all I remember is it's three lines of code. I'm pretty sure the form is
subclassed but I haven't had to time to analyze the subclassing.

Anyway, enter a valid date (set century is on) such as "11/11/1111" and you
blow through to the next field. Expected. Then try "22/22/2222" and the
field becomes highlighted *and you cannot remove the characters*. There's
no "Invalid Date" message. It feels like you're in a very tight keyboard
loop and you can't break out. I can click on the close box on the form and
see it depress, but no action is taken (My take is that Windows events are
superceding the VFP events but once VFP takes over, it's the infinite
loop). There is nothing I can do to change the invalid date even though I'm
stuck in the field (Delete key does nothing, trying to enter new values to
overwrite the old values does nothing, etc.).

They use jKey but I didn't notice a change of behavior if I released this
library.

In short, if the user enters a bad date, they're absolutely hosed.

Any pointers?

Bill Anderson



<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/ca+o1enhbd_m5zgpmz5hhh6m2mveb04jexb4t9pg51zorfoz...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to